mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-03 02:37:31 +00:00
sharing the WrapInNameSpace methods
This commit is contained in:
parent
43fedfa8ba
commit
03ad8fa4d9
7 changed files with 44 additions and 84 deletions
|
|
@ -596,7 +596,8 @@ class PythonGenerator : public BaseGenerator {
|
|||
public:
|
||||
PythonGenerator(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name)
|
||||
: BaseGenerator(parser, path, file_name){};
|
||||
: BaseGenerator(parser, path, file_name, "" /* not used */,
|
||||
"" /* not used */){};
|
||||
bool generate() {
|
||||
if (!generateEnums()) return false;
|
||||
if (!generateStructs()) return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue