mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 03:20:18 +00:00
Update config.h
This commit is contained in:
parent
c329e09fac
commit
4cf9199c72
@ -25,16 +25,19 @@
|
||||
#define PK_FREE(ptr) free(ptr)
|
||||
#endif
|
||||
|
||||
/*************** internal settings ***************/
|
||||
|
||||
// This is the maximum size of the value stack in py_TValue units
|
||||
// The actual size in bytes equals `sizeof(py_TValue) * PK_VM_STACK_SIZE`
|
||||
#ifndef PK_VM_STACK_SIZE // can be overridden by cmake
|
||||
#define PK_VM_STACK_SIZE 16384
|
||||
#endif
|
||||
|
||||
// This is the maximum number of local variables in a function
|
||||
// (not recommended to change this)
|
||||
#ifndef PK_MAX_CO_VARNAMES // can be overridden by cmake
|
||||
#define PK_MAX_CO_VARNAMES 64
|
||||
#endif
|
||||
|
||||
/*************** internal settings ***************/
|
||||
// This is the maximum character length of a module path
|
||||
#define PK_MAX_MODULE_PATH_LEN 63
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user