Searched refs:EXTRA_STACK (Results 1 – 4 of 4) sorted by relevance
169 lua_assert(L->stack_last - L->stack == L->stacksize - EXTRA_STACK); in luaD_reallocstack()174 L->stack_last = L->stack + newsize - EXTRA_STACK; in luaD_reallocstack()184 int needed = cast_int(L->top - L->stack) + n + EXTRA_STACK; in luaD_growstack()211 int goodsize = inuse + (inuse / 8) + 2*EXTRA_STACK; in luaD_shrinkstack()
47 #define EXTRA_STACK 5 macro
139 L1->stack_last = L1->stack + L1->stacksize - EXTRA_STACK; in stack_init()
98 int inuse = cast_int(L->top - L->stack) + EXTRA_STACK; in lua_checkstack()