mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-19 05:03:05 +00:00
Nullable java (#4455)
* add _Nullable Support for C++ interface * generate @Nullable for Java generated code
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
a1b5f565d9
commit
01bac38c84
@@ -372,7 +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;
|
||||
bool gen_nullable;
|
||||
std::string object_prefix;
|
||||
std::string object_suffix;
|
||||
bool union_value_namespacing;
|
||||
@@ -428,7 +428,7 @@ struct IDLOptions {
|
||||
generate_name_strings(false),
|
||||
generate_object_based_api(false),
|
||||
cpp_object_api_pointer_type("std::unique_ptr"),
|
||||
clang_nullable(false),
|
||||
gen_nullable(false),
|
||||
object_suffix("T"),
|
||||
union_value_namespacing(true),
|
||||
allow_non_utf8(false),
|
||||
|
||||
Reference in New Issue
Block a user