This commit is contained in:
blueloveTH 2023-09-29 20:20:53 +08:00
parent b78722dac0
commit 88f16121cb

View File

@ -66,7 +66,7 @@ inline PyObject* py_var(VM* vm, const void* p){
return vm->heap.gcnew<VoidP>(PK_OBJ_GET(Type, type), val); \ return vm->heap.gcnew<VoidP>(PK_OBJ_GET(Type, type), val); \
} }
// POINTER_VAR(char*, "char_p") POINTER_VAR(char*, "char_p")
// const char* is special, need to rethink about it // const char* is special, need to rethink about it
POINTER_VAR(const unsigned char*, "uchar_p") POINTER_VAR(const unsigned char*, "uchar_p")
POINTER_VAR(const short*, "short_p") POINTER_VAR(const short*, "short_p")