mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-10 15:16:28 +00:00
(Optionally) add an additional suffix namespace to generated fbs files. (#5698)
This change allows for the generation of fbs files (from proto) that don't contain name collisions with the protobuf generated C++ code, allowing both the proto and fbs message types to be linked into the same binary.
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
35daaf83d3
commit
21b7061963
@@ -557,6 +557,7 @@ struct IDLOptions {
|
||||
bool java_primitive_has_method;
|
||||
std::vector<std::string> cpp_includes;
|
||||
std::string cpp_std;
|
||||
std::string proto_namespace_suffix;
|
||||
|
||||
// Possible options for the more general generator below.
|
||||
enum Language {
|
||||
|
||||
Reference in New Issue
Block a user