summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrei Polushin <polushin@gmail.com>2018-01-05 01:01:41 +0700
committerWouter van Oortmerssen <aardappel@gmail.com>2018-01-04 10:01:41 -0800
commita056402f56c70bcca51b703bc851e42dd77bcd79 (patch)
tree68c27a14e8d0fb02d1bd1c2c410478ef0f63ceae /include
parentd7b1d418ee9487acaf256a031a4aef9d19c9e097 (diff)
downloadflatbuffers-a056402f56c70bcca51b703bc851e42dd77bcd79.tar.gz
flatbuffers-a056402f56c70bcca51b703bc851e42dd77bcd79.tar.bz2
flatbuffers-a056402f56c70bcca51b703bc851e42dd77bcd79.zip
Remove unused declarations (#4578)
Diffstat (limited to 'include')
-rw-r--r--include/flatbuffers/idl.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h
index b51ebf33..6bec05af 100644
--- a/include/flatbuffers/idl.h
+++ b/include/flatbuffers/idl.h
@@ -631,7 +631,6 @@ class Parser : public ParserState {
FLATBUFFERS_CHECKED_ERROR ParseTable(const StructDef &struct_def,
std::string *value, uoffset_t *ovalue);
void SerializeStruct(const StructDef &struct_def, const Value &val);
- void AddVector(bool sortbysize, int count);
// clang-format off
#if defined(FLATBUFFERS_CPP98_STL)
typedef CheckedError (*ParseVectorDelimitersBody)(size_t &count,
@@ -751,15 +750,12 @@ extern bool GenerateBinary(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,
- const std::string &include_guard_ident);
extern bool GenerateCPP(const Parser &parser,
const std::string &path,
const std::string &file_name);
// Generate JavaScript or TypeScript code from the definitions in the Parser object.
// See idl_gen_js.
-extern std::string GenerateJS(const Parser &parser);
extern bool GenerateJS(const Parser &parser,
const std::string &path,
const std::string &file_name);
@@ -770,12 +766,6 @@ extern bool GenerateGo(const Parser &parser,
const std::string &path,
const std::string &file_name);
-// Generate Java files from the definitions in the Parser object.
-// See idl_gen_java.cpp.
-extern bool GenerateJava(const Parser &parser,
- const std::string &path,
- const std::string &file_name);
-
// Generate Php code from the definitions in the Parser object.
// See idl_gen_php.
extern bool GeneratePhp(const Parser &parser,
@@ -794,12 +784,6 @@ extern bool GenerateJsonSchema(const Parser &parser,
const std::string &path,
const std::string &file_name);
-// Generate C# files from the definitions in the Parser object.
-// See idl_gen_csharp.cpp.
-extern bool GenerateCSharp(const Parser &parser,
- const std::string &path,
- const std::string &file_name);
-
// Generate Java/C#/.. files from the definitions in the Parser object.
// See idl_gen_general.cpp.
extern bool GenerateGeneral(const Parser &parser,