瀏覽代碼

Update common.h

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

+ 1 - 0
include/pocketpy/common.h

@@ -126,6 +126,7 @@ struct Type {
 #endif
 
 struct PyObject;
+using PyVar = PyObject*;
 #define PK_BITS(p) (reinterpret_cast<i64>(p))
 
 // is_pod_v<> for c++17 and c++20