Selaa lähdekoodia

Update common.h

blueloveTH 1 vuosi sitten
vanhempi
commit
10c1a5c42d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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