aboutsummaryrefslogtreecommitdiff
path: root/modules/mono/csharp_script.h
diff options
context:
space:
mode:
authorMichele Valente2018-02-18 22:47:43 +0100
committerMichele Valente2018-02-22 21:23:47 +0100
commit3c7d9001bc9591368d743e9bd6cc29a74c7bddd5 (patch)
treea0e9f13c852f9e845f03cd8fcbb4d19634b3dcd2 /modules/mono/csharp_script.h
parentbe7bfdfac30b3772fde6058d470b81b480f03be7 (diff)
downloadgodot-3c7d9001bc9591368d743e9bd6cc29a74c7bddd5.tar.gz
godot-3c7d9001bc9591368d743e9bd6cc29a74c7bddd5.tar.zst
godot-3c7d9001bc9591368d743e9bd6cc29a74c7bddd5.zip
fix release builds with mono
"_signals" and "signals_invalidated" were moved out of the "TOOLS_ENABLED" directive. Updated also the two "update_signals" and "_update_signals" methods so it makes sense.
Diffstat (limited to '')
-rw-r--r--modules/mono/csharp_script.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/mono/csharp_script.h b/modules/mono/csharp_script.h
index ffb1d2e0f..1f609627d 100644
--- a/modules/mono/csharp_script.h
+++ b/modules/mono/csharp_script.h
@@ -90,15 +90,15 @@ class CSharpScript : public Script {
Variant::Type type;
};
+ Map<StringName, Vector<Argument> > _signals;
+ bool signals_invalidated;
+
#ifdef TOOLS_ENABLED
List<PropertyInfo> exported_members_cache; // members_cache
Map<StringName, Variant> exported_members_defval_cache; // member_default_values_cache
Set<PlaceHolderScriptInstance *> placeholders;
bool source_changed_cache;
bool exports_invalidated;
- Map<StringName, Vector<Argument> > _signals;
- bool signals_invalidated;
-
void _update_exports_values(Map<StringName, Variant> &values, List<PropertyInfo> &propnames);
virtual void _placeholder_erased(PlaceHolderScriptInstance *p_placeholder);
#endif