mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-11 23:40:57 +00:00
Added backwards compatible --no-union-value-namespacing
Change-Id: Ia78dd3b0f213e9ffa49dcec699dcbb21fe6517da Tested: on Linux.
This commit is contained in:
@@ -347,6 +347,7 @@ struct IDLOptions {
|
||||
bool generate_name_strings;
|
||||
bool escape_proto_identifiers;
|
||||
bool generate_object_based_api;
|
||||
bool union_value_namespacing;
|
||||
|
||||
// Possible options for the more general generator below.
|
||||
enum Language { kJava, kCSharp, kGo, kMAX };
|
||||
@@ -368,6 +369,7 @@ struct IDLOptions {
|
||||
generate_name_strings(false),
|
||||
escape_proto_identifiers(false),
|
||||
generate_object_based_api(false),
|
||||
union_value_namespacing(true),
|
||||
lang(IDLOptions::kJava) {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user