lua_open

lua_open(int stacksize: numero)

If stacksize is zero, then a default size of 1024 is used. Each function call needs one stack position for each argument, local variable, and temporary value, plus one position for book-keeping.The stack must also have some 20 extra positions available.