lua-users home
lua-l archive

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


> Presumably one needs to check the stack space before the initial push
> as well, but since blowing out the stack on a push isn't supported
> anyway, this concern is handled elsewhere.

More often than not one knows whether the stack has enough space and so
can avoid the check. Otherwise this concern should be handled elsewhere.

(Note that in 5.2w2 lua_checkstack is protected.)

-- Roberto