summaryrefslogtreecommitdiff
path: root/modules/mono/editor/bindings_generator.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-02-12 15:29:25 +0100
committerGitHub <noreply@github.com>2019-02-12 15:29:25 +0100
commitc4835c434502e23148585324a16c2bdc1c943ca2 (patch)
tree0758ca05db4016317c7ffb969f4129c2e111d2fe /modules/mono/editor/bindings_generator.cpp
parent8fd6a02d3e18ee9001ba4e397bd65b789781891e (diff)
parent9df44c2d2cbae10aa7b27b2562d00d69c2caecb8 (diff)
Merge pull request #25721 from neikeq/ww
Use script instance binding for objects constructed from C#
Diffstat (limited to 'modules/mono/editor/bindings_generator.cpp')
-rw-r--r--modules/mono/editor/bindings_generator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/editor/bindings_generator.cpp b/modules/mono/editor/bindings_generator.cpp
index 0b6a6a327c..77e9b1f1f4 100644
--- a/modules/mono/editor/bindings_generator.cpp
+++ b/modules/mono/editor/bindings_generator.cpp
@@ -849,6 +849,8 @@ Error BindingsGenerator::_generate_cs_type(const TypeInterface &itype, const Str
}
}
+ // TODO: BINDINGS_NATIVE_NAME_FIELD should be StringName, once we support it in C#
+
if (itype.is_singleton) {
// Add the type name and the singleton pointer as static fields