lua_open

LUA

lua_open

Parent Previous Next

lua_open

lua_State *lua_open (int stacksize);

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.