diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-09-20 17:34:44 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-09-20 17:41:20 +0200 |
commit | 95c685143a06420bc9cca6944b1449b675841a2d (patch) | |
tree | 165d935f031defc479fa36693cecd2c0353dffde /modules/mono/editor/bindings_generator.cpp | |
parent | 24e1039eb6fe32115e8d1a62a84965e9be19a2ed (diff) |
C#: Make sure cs_glue_version is present when building export templates
Diffstat (limited to 'modules/mono/editor/bindings_generator.cpp')
-rw-r--r-- | modules/mono/editor/bindings_generator.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp index 1888bb3cb9..74710db224 100644 --- a/modules/mono/editor/bindings_generator.cpp +++ b/modules/mono/editor/bindings_generator.cpp @@ -1785,6 +1785,9 @@ Error BindingsGenerator::generate_glue(const String &p_output_dir) { output.append("uint32_t get_bindings_version() { return "); output.append(String::num_uint64(BINDINGS_GENERATOR_VERSION) + "; }\n"); + output.append("uint32_t get_cs_glue_version() { return "); + output.append(String::num_uint64(CS_GLUE_VERSION) + "; }\n"); + output.append("\nvoid register_generated_icalls() " OPEN_BLOCK); output.append("\tgodot_register_glue_header_icalls();\n"); |