mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-21 18:08:27 +00:00
_Nullable cpp interface (#4451)
* add _Nullable Support for C++ interface * add _Nullable Support for C++ interface
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
9c3920d0ab
commit
30e7d16104
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user