Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
flatbuffers
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
flatbuffers
Commits
aae48e3a
Commit
aae48e3a
authored
Jul 04, 2016
by
Raman
Committed by
GitHub
Jul 04, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update idl.h
parent
ff57f52b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
idl.h
include/flatbuffers/idl.h
+6
-2
No files found.
include/flatbuffers/idl.h
View file @
aae48e3a
...
...
@@ -337,6 +337,7 @@ struct IDLOptions {
bool
generate_all
;
bool
skip_unexpected_fields_in_json
;
bool
generate_name_strings
;
bool
escape_proto_identifiers
;
// Possible options for the more general generator below.
enum
Language
{
kJava
,
kCSharp
,
kGo
,
kMAX
};
...
...
@@ -356,6 +357,7 @@ struct IDLOptions {
generate_all
(
false
),
skip_unexpected_fields_in_json
(
false
),
generate_name_strings
(
false
),
escape_proto_identifiers
(
false
),
lang
(
IDLOptions
::
kJava
)
{}
};
...
...
@@ -644,10 +646,12 @@ extern bool GenerateGeneral(const Parser &parser,
// Generate a schema file from the internal representation, useful after
// parsing a .proto schema.
extern
std
::
string
GenerateFBS
(
const
Parser
&
parser
,
const
std
::
string
&
file_name
);
const
std
::
string
&
file_name
,
const
bool
&
escape_proto_identifiers
);
extern
bool
GenerateFBS
(
const
Parser
&
parser
,
const
std
::
string
&
path
,
const
std
::
string
&
file_name
);
const
std
::
string
&
file_name
,
const
bool
&
escape_proto_identifiers
);
// Generate a make rule for the generated JavaScript code.
// See idl_gen_js.cpp.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment