diff options
author | Marc <marc.gilleron@gmail.com> | 2020-08-30 22:45:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-30 22:45:17 +0100 |
commit | 3f72f5a8425e92d20b93b54899b508b15c0d46ca (patch) | |
tree | 9083b372a7a5772da2c6990229b2b826887b9736 /src | |
parent | fd281da1cf5951b0f6b7bdafe88af3731f309675 (diff) | |
parent | 469e9da86ca374c051e31524cd4059feea2aa3cb (diff) | |
download | redot-cpp-3f72f5a8425e92d20b93b54899b508b15c0d46ca.tar.gz |
Merge pull request #447 from Zylann/rename_rid_get_id
Rename `RID::get_rid()` => `get_id()` to match Godot
Diffstat (limited to 'src')
-rw-r--r-- | src/core/RID.cpp | 2 |
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); } |