This commit is contained in:
2025-07-05 22:28:57 +08:00
parent fa75dff380
commit 41c31e80f6
4 changed files with 21 additions and 1 deletions

View File

@@ -17,6 +17,8 @@ class Memory {
}
class NativePointer {
//大小
Size = -1;
C_Object = null;
@@ -27,6 +29,7 @@ class NativePointer {
C_Object = T;
} else if (type(T) == "string") {
C_Object = Sq_New_Point(T.tointeger());
Size = T;
//注册销毁伪析构
Register_Destruction(C_Object, this);
}