summaryrefslogtreecommitdiffstats
path: root/core/core_string_names.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/core_string_names.h')
-rw-r--r--core/core_string_names.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/core_string_names.h b/core/core_string_names.h
index 1c77cef567..d7ddc39f5e 100644
--- a/core/core_string_names.h
+++ b/core/core_string_names.h
@@ -50,12 +50,10 @@ public:
static CoreStringNames *singleton;
- StringName _free;
+ StringName free_; // "free", conflict with C++ keyword.
StringName changed;
- StringName _script;
+ StringName script;
StringName script_changed;
- StringName ___pdcdata;
- StringName __getvar;
StringName _iter_init;
StringName _iter_next;
StringName _iter_get;
@@ -98,4 +96,6 @@ public:
StringName property_list_changed;
};
+#define CoreStringName(m_name) CoreStringNames::get_singleton()->m_name
+
#endif // CORE_STRING_NAMES_H