From 95c685143a06420bc9cca6944b1449b675841a2d Mon Sep 17 00:00:00 2001 From: Ignacio Etcheverry Date: Fri, 20 Sep 2019 17:34:44 +0200 Subject: C#: Make sure cs_glue_version is present when building export templates --- modules/mono/editor/bindings_generator.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/mono/editor/bindings_generator.cpp') 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"); -- cgit v1.2.3