From 10c1a5c42da3fbbd2158a301565a1db12c9103ea Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Sun, 12 May 2024 19:33:37 +0800 Subject: [PATCH] Update common.h --- include/pocketpy/common.h | 1 + 1 file changed, 1 insertion(+) 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