blueloveTH 2 年之前
父节点
当前提交
d2becdb9f5
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 2 3
      include/pocketpy/config.h

+ 2 - 3
include/pocketpy/config.h

@@ -57,10 +57,9 @@
 // The actual size in bytes equals `sizeof(void*) * PK_VM_STACK_SIZE`
 // The actual size in bytes equals `sizeof(void*) * PK_VM_STACK_SIZE`
 #define PK_VM_STACK_SIZE            32768
 #define PK_VM_STACK_SIZE            32768
 
 
-// This is the maximum number of arguments in a function declaration
-// including positional arguments, keyword-only arguments, and varargs
+// This is the maximum number of local variables in a function
 // (not recommended to change this / it should be less than 200)
 // (not recommended to change this / it should be less than 200)
-#define PK_MAX_CO_VARNAMES          32
+#define PK_MAX_CO_VARNAMES          64
 
 
 // Hash table load factor (smaller ones mean less collision but more memory)
 // Hash table load factor (smaller ones mean less collision but more memory)
 // For class instance
 // For class instance