aboutsummaryrefslogtreecommitdiff
path: root/include/flatbuffers/idl.h
diff options
context:
space:
mode:
authorKamil Rojewski <krojew@users.noreply.github.com>2018-12-06 20:12:06 +0100
committerWouter van Oortmerssen <aardappel@gmail.com>2018-12-06 11:12:06 -0800
commit30c49485415c7b22937142447cdb1837a921c172 (patch)
tree167e04aedc3fd09a9308f4fb6c6bcecdd15cde9c /include/flatbuffers/idl.h
parent80d148b1757f0fab9305616d69d876378405843a (diff)
downloadflatbuffers-30c49485415c7b22937142447cdb1837a921c172.tar.gz
Renamed JS generator to explicitly state it generates TS too (#5043)
Diffstat (limited to 'include/flatbuffers/idl.h')
-rw-r--r--include/flatbuffers/idl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h
index 2e6bc513..18e1db9d 100644
--- a/include/flatbuffers/idl.h
+++ b/include/flatbuffers/idl.h
@@ -820,7 +820,7 @@ extern bool GenerateDart(const Parser &parser,
// Generate JavaScript or TypeScript code from the definitions in the Parser object.
// See idl_gen_js.
-extern bool GenerateJS(const Parser &parser,
+extern bool GenerateJSTS(const Parser &parser,
const std::string &path,
const std::string &file_name);
@@ -882,7 +882,7 @@ extern bool GenerateFBS(const Parser &parser,
// Generate a make rule for the generated JavaScript or TypeScript code.
// See idl_gen_js.cpp.
-extern std::string JSMakeRule(const Parser &parser,
+extern std::string JSTSMakeRule(const Parser &parser,
const std::string &path,
const std::string &file_name);