mirror of https://github.com/godotengine/godot
Document that memdelete() is the GDExtension C++ version of free()
This commit is contained in:
parent
f931a65177
commit
2ead38924b
|
|
@ -676,7 +676,7 @@
|
||||||
<method name="free" keywords="delete, remove, kill, die">
|
<method name="free" keywords="delete, remove, kill, die">
|
||||||
<return type="void" />
|
<return type="void" />
|
||||||
<description>
|
<description>
|
||||||
Deletes the object from memory. Pre-existing references to the object become invalid, and any attempt to access them will result in a run-time error. Checking the references with [method @GlobalScope.is_instance_valid] will return [code]false[/code].
|
Deletes the object from memory. Pre-existing references to the object become invalid, and any attempt to access them will result in a runtime error. Checking the references with [method @GlobalScope.is_instance_valid] will return [code]false[/code]. This is equivalent to the [code]memdelete(obj)[/code] function in GDExtension C++ and in-engine C++.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="get" qualifiers="const">
|
<method name="get" qualifiers="const">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue