mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 07:06:26 +00:00
* Allow prefix/suffix of C++ Object API classes to be customised * Address review comments
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
5808f7fb03
commit
d5b4db0692
@@ -366,6 +366,8 @@ struct IDLOptions {
|
||||
bool generate_object_based_api;
|
||||
std::string cpp_object_api_pointer_type;
|
||||
std::string cpp_object_api_string_type;
|
||||
std::string object_prefix;
|
||||
std::string object_suffix;
|
||||
bool union_value_namespacing;
|
||||
bool allow_non_utf8;
|
||||
std::string include_prefix;
|
||||
@@ -415,6 +417,7 @@ struct IDLOptions {
|
||||
escape_proto_identifiers(false),
|
||||
generate_object_based_api(false),
|
||||
cpp_object_api_pointer_type("std::unique_ptr"),
|
||||
object_suffix("T"),
|
||||
union_value_namespacing(true),
|
||||
allow_non_utf8(false),
|
||||
keep_include_path(false),
|
||||
|
||||
Reference in New Issue
Block a user