From 2ead38924b89ff58b037d7e0f96844243e321a0d Mon Sep 17 00:00:00 2001 From: Aaron Franke Date: Sun, 23 Feb 2025 16:07:51 -0800 Subject: [PATCH] Document that memdelete() is the GDExtension C++ version of free() --- doc/classes/Object.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Object.xml b/doc/classes/Object.xml index ec34d464d9b..6942dda74c9 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -676,7 +676,7 @@ - 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++.