From 284148f1abc0f52d17ec79eb6bc9c6c180f008de Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 27 Jun 2023 02:46:42 +0800 Subject: [PATCH] ... --- src/common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common.h b/src/common.h index 67aa0ba2..d3d48461 100644 --- a/src/common.h +++ b/src/common.h @@ -111,6 +111,7 @@ struct Type { }; #define PK_LAMBDA(x) ([](VM* vm, ArgsView args) { return x; }) +#define PK_VAR_LAMBDA(x) ([](VM* vm, ArgsView args) { return VAR(x); }) #ifdef POCKETPY_H #define FATAL_ERROR() throw std::runtime_error( "L" + std::to_string(__LINE__) + " FATAL_ERROR()!");