blueloveTH 2 年之前
父節點
當前提交
88f16121cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/pocketpy/cffi.h

+ 1 - 1
include/pocketpy/cffi.h

@@ -66,7 +66,7 @@ inline PyObject* py_var(VM* vm, const void* p){
         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
 POINTER_VAR(const unsigned char*, "uchar_p")
 POINTER_VAR(const short*, "short_p")