فهرست منبع

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