summaryrefslogtreecommitdiffstats
path: root/modules/mono/csharp_script.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2017-12-24 03:17:48 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2017-12-24 04:20:41 +0100
commit0a0a44da8d11303d91c18d015333a3769def2304 (patch)
tree52aa25a7981c58838db4022d5b5a97691c5eb612 /modules/mono/csharp_script.cpp
parent9969c5c6a1cc103fb7b23c279b7fde0d92a5599a (diff)
downloadredot-engine-0a0a44da8d11303d91c18d015333a3769def2304.tar.gz
Mono: Make the bindings generator output enums
- Switch to PascalCase for constants names
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-rw-r--r--modules/mono/csharp_script.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp
index af5a0334c3..44dd776e9a 100644
--- a/modules/mono/csharp_script.cpp
+++ b/modules/mono/csharp_script.cpp
@@ -1376,7 +1376,7 @@ bool CSharpScript::_update_exports() {
hint_string = NATIVE_GDMONOCLASS_NAME(field_type.type_class);
} else {
hint = PropertyHint(CACHED_FIELD(ExportAttribute, hint)->get_int_value(attr));
- hint_string = CACHED_FIELD(ExportAttribute, hint_string)->get_string_value(attr);
+ hint_string = CACHED_FIELD(ExportAttribute, hintString)->get_string_value(attr);
}
PropertyInfo prop_info = PropertyInfo(type, name, hint, hint_string, PROPERTY_USAGE_DEFAULT | PROPERTY_USAGE_SCRIPT_VARIABLE);