From c58483ad0bf6bb41944a4f47f636c16855b41ffa 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 cfc1cebb18..eef2528bea 100644 --- a/doc/classes/Object.xml +++ b/doc/classes/Object.xml @@ -555,7 +555,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[/code] function in GDExtension C++.