Răsfoiți Sursa

Update common.h

blueloveTH 2 ani în urmă
părinte
comite
10c1a5c42d
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      include/pocketpy/common.h

+ 1 - 0
include/pocketpy/common.h

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