mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-05 04:58:57 +00:00
removed extern code generation declarations preferring direct includes (#7948)
* removed extern code generation definitions, preferring direct includes * add static to functions * remove idl_gen_lua
This commit is contained in:
@@ -2161,13 +2161,13 @@ class TsGenerator : public BaseGenerator {
|
||||
}; // namespace ts
|
||||
} // namespace ts
|
||||
|
||||
bool GenerateTS(const Parser &parser, const std::string &path,
|
||||
static bool GenerateTS(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name) {
|
||||
ts::TsGenerator generator(parser, path, file_name);
|
||||
return generator.generate();
|
||||
}
|
||||
|
||||
std::string TSMakeRule(const Parser &parser, const std::string &path,
|
||||
static std::string TSMakeRule(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name) {
|
||||
std::string filebase =
|
||||
flatbuffers::StripPath(flatbuffers::StripExtension(file_name));
|
||||
|
||||
Reference in New Issue
Block a user