mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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:
commit
c7ed5d795e
4 changed files with 19 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue