diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2019-05-09 05:21:49 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2019-05-09 06:25:32 -0400 |
commit | 702b539405baf6eaa536b37a9bb5cbcc18142bc8 (patch) | |
tree | 3e4408fe921d50dad7eef9ea2fdb61bc8f1a1907 /core/object.h | |
parent | 84058ab8ac9b7543da3971162c3a1b1d2fe05b89 (diff) | |
download | redot-engine-702b539405baf6eaa536b37a9bb5cbcc18142bc8.tar.gz |
Change "ID" to lowercase "id"
Reasoning: ID is not an acronym, it is simply short for identification, so it logically should not be capitalized. But even if it was an acronym, other acronyms in Godot are not capitalized, like p_rid, p_ip, and p_json.
Diffstat (limited to 'core/object.h')
-rw-r--r-- | core/object.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/object.h b/core/object.h index 94abaacdcc..57ebb32392 100644 --- a/core/object.h +++ b/core/object.h @@ -465,7 +465,7 @@ private: bool _block_signals; int _predelete_ok; Set<Object *> change_receptors; - ObjectID _instance_ID; + ObjectID _instance_id; bool _predelete(); void _postinitialize(); bool _can_translate; @@ -577,7 +577,7 @@ public: bool _is_gpl_reversed() const { return false; } - _FORCE_INLINE_ ObjectID get_instance_id() const { return _instance_ID; } + _FORCE_INLINE_ ObjectID get_instance_id() const { return _instance_id; } // this is used for editors void add_change_receptor(Object *p_receptor); @@ -776,7 +776,7 @@ class ObjectDB { public: typedef void (*DebugFunc)(Object *p_obj); - static Object *get_instance(ObjectID p_instance_ID); + static Object *get_instance(ObjectID p_instance_id); static void debug_objects(DebugFunc p_func); static int get_object_count(); |