From 5cec2846caac02687dbe068606554389532705ce Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 18 Apr 2023 00:40:12 +0800 Subject: [PATCH] ... --- src/ceval.h | 12 +++++++++++- src/vm.h | 3 +++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/ceval.h b/src/ceval.h index 2e16d853..b10534bd 100644 --- a/src/ceval.h +++ b/src/ceval.h @@ -559,9 +559,9 @@ __NEXT_STEP:; #endif } - #undef DISPATCH #undef TARGET +#undef DISPATCH_OP_CALL /**********************************************************************/ UNREACHABLE(); }catch(HandledException& e){ @@ -587,4 +587,14 @@ __NEXT_STEP:; } } +#undef TOP +#undef SECOND +#undef THIRD +#undef PEEK +#undef STACK_SHRINK +#undef PUSH +#undef POP +#undef POPX +#undef STACK_VIEW + } // namespace pkpy \ No newline at end of file diff --git a/src/vm.h b/src/vm.h index c3d2b05f..88054eb4 100644 --- a/src/vm.h +++ b/src/vm.h @@ -1048,4 +1048,7 @@ inline Str obj_type_name(VM *vm, Type type){ return vm->_all_types[type].name; } +#undef PY_VAR_INT +#undef PY_VAR_FLOAT + } // namespace pkpy \ No newline at end of file