diff --git a/include/pocketpy/common.h b/include/pocketpy/common.h index 4e6bc37c..5afa9f91 100644 --- a/include/pocketpy/common.h +++ b/include/pocketpy/common.h @@ -126,6 +126,7 @@ struct Type { #endif struct PyObject; +using PyVar = PyObject*; #define PK_BITS(p) (reinterpret_cast(p)) // is_pod_v<> for c++17 and c++20