_Nullable cpp interface (#4451)

* add _Nullable Support for C++ interface

* add _Nullable Support for C++ interface
This commit is contained in:
Yonggang Li
2017-10-09 08:40:17 -07:00
committed by Wouter van Oortmerssen
parent 9c3920d0ab
commit 30e7d16104
3 changed files with 23 additions and 5 deletions

View File

@@ -372,6 +372,7 @@ struct IDLOptions {
bool generate_object_based_api;
std::string cpp_object_api_pointer_type;
std::string cpp_object_api_string_type;
bool clang_nullable;
std::string object_prefix;
std::string object_suffix;
bool union_value_namespacing;
@@ -426,6 +427,7 @@ struct IDLOptions {
generate_name_strings(false),
generate_object_based_api(false),
cpp_object_api_pointer_type("std::unique_ptr"),
clang_nullable(false),
object_suffix("T"),
union_value_namespacing(true),
allow_non_utf8(false),