1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #82799 from CedNaru/feature/expose_free_instance_binding

Expose `Object::free_instance_binding()` to GDExtension
This commit is contained in:
Rémi Verschelde
2023-10-05 10:10:58 +02:00
4 changed files with 19 additions and 2 deletions

View File

@@ -1871,7 +1871,6 @@ bool Object::has_instance_binding(void *p_token) {
return found;
}
#ifdef TOOLS_ENABLED
void Object::free_instance_binding(void *p_token) {
bool found = false;
_instance_binding_mutex.lock();
@@ -1896,6 +1895,7 @@ void Object::free_instance_binding(void *p_token) {
_instance_binding_mutex.unlock();
}
#ifdef TOOLS_ENABLED
void Object::clear_internal_extension() {
ERR_FAIL_NULL(_extension);