summaryrefslogtreecommitdiffstats
path: root/src/core/RID.cpp
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2020-08-23 21:32:05 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2020-08-23 21:32:05 +0100
commit469e9da86ca374c051e31524cd4059feea2aa3cb (patch)
tree065d487b3a5d3b3a091d31f22fc9f70b051b933d /src/core/RID.cpp
parent19fa40591b8b37616cd902947f0038ba87729fcd (diff)
downloadredot-cpp-469e9da86ca374c051e31524cd4059feea2aa3cb.tar.gz
Rename `RID::get_rid()` => `get_id()` to match Godot
Diffstat (limited to 'src/core/RID.cpp')
-rw-r--r--src/core/RID.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/RID.cpp b/src/core/RID.cpp
index 7ca1e7a..5391f6e 100644
--- a/src/core/RID.cpp
+++ b/src/core/RID.cpp
@@ -14,7 +14,7 @@ RID::RID(Object *p) {
godot::api->godot_rid_new_with_resource(&_godot_rid, (const godot_object *)p);
}
-int32_t RID::get_rid() const {
+int32_t RID::get_id() const {
return godot::api->godot_rid_get_id(&_godot_rid);
}