summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCasper <casperneo@uchicago.edu>2021-09-13 18:18:00 -0400
committerGitHub <noreply@github.com>2021-09-13 18:18:00 -0400
commit0a3b017f09db8723ab634706ae875af20686e1e3 (patch)
treecd56edf50f4707255ac58dae70ab133b852ce792 /include
parent47d35f10533547e5c8d06f7e5c05dbc02178a002 (diff)
downloadflatbuffers-0a3b017f09db8723ab634706ae875af20686e1e3.tar.gz
flatbuffers-0a3b017f09db8723ab634706ae875af20686e1e3.tar.bz2
flatbuffers-0a3b017f09db8723ab634706ae875af20686e1e3.zip
Delete IDLOptions::lang (#6841)
Co-authored-by: Casper Neo <cneo@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/flatbuffers/idl.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h
index e41b8aad..9224a90a 100644
--- a/include/flatbuffers/idl.h
+++ b/include/flatbuffers/idl.h
@@ -616,8 +616,6 @@ struct IDLOptions {
kMAX
};
- Language lang;
-
enum MiniReflect { kNone, kTypes, kTypesAndNames };
MiniReflect mini_reflect;
@@ -681,7 +679,6 @@ struct IDLOptions {
filename_extension(),
no_warnings(false),
project_root(""),
- lang(IDLOptions::kJava),
mini_reflect(IDLOptions::kNone),
require_explicit_ids(false),
lang_to_generate(0),
@@ -1162,9 +1159,10 @@ extern std::string RustMakeRule(const Parser &parser, const std::string &path,
// Generate a make rule for generated Java or C# files.
// See code_generators.cpp.
-extern std::string JavaCSharpMakeRule(const Parser &parser,
- const std::string &path,
- const std::string &file_name);
+extern std::string CSharpMakeRule(const Parser &parser, const std::string &path,
+ const std::string &file_name);
+extern std::string JavaMakeRule(const Parser &parser, const std::string &path,
+ const std::string &file_name);
// Generate a make rule for the generated text (JSON) files.
// See idl_gen_text.cpp.