lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Why to check stack _after_ not _before_ ``pushing''?

The call to luaD_checkstack may reallocate the stack, invalidating p1
and p2. The stack always has some free slots (EXTRA_STACK) to allow
those pushings.

-- Roberto