From 53527138a938a5119f7294480567526ade646ba6 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 22 Aug 2019 16:07:28 +1000 Subject: [PATCH] py/bc0.h: Add comment that MP_BC_MAKE_CLOSURE/_DEFARGS take extra byte. --- py/bc0.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py/bc0.h b/py/bc0.h index 175ee263a0..fcb6eead5f 100644 --- a/py/bc0.h +++ b/py/bc0.h @@ -98,8 +98,8 @@ #define MP_BC_MAKE_FUNCTION (0x60) // uint #define MP_BC_MAKE_FUNCTION_DEFARGS (0x61) // uint -#define MP_BC_MAKE_CLOSURE (0x62) // uint -#define MP_BC_MAKE_CLOSURE_DEFARGS (0x63) // uint +#define MP_BC_MAKE_CLOSURE (0x62) // uint; byte +#define MP_BC_MAKE_CLOSURE_DEFARGS (0x63) // uint; byte #define MP_BC_CALL_FUNCTION (0x64) // uint #define MP_BC_CALL_FUNCTION_VAR_KW (0x65) // uint #define MP_BC_CALL_METHOD (0x66) // uint