1111
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user