mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-14 16:36:55 +00:00
Generated C++ headers now have include guards.
Bug: 15700355 Change-Id: Iceccb5b344e394e399092ffaa81f9cad2f0418ab Tested: on Windows
This commit is contained in:
@@ -302,7 +302,8 @@ extern void GenerateText(const Parser &parser,
|
||||
|
||||
// Generate a C++ header from the definitions in the Parser object.
|
||||
// See idl_gen_cpp.
|
||||
extern std::string GenerateCPP(const Parser &parser);
|
||||
extern std::string GenerateCPP(const Parser &parser,
|
||||
const std::string &include_guard_ident);
|
||||
extern bool GenerateCPP(const Parser &parser,
|
||||
const std::string &path,
|
||||
const std::string &file_name);
|
||||
|
||||
Reference in New Issue
Block a user