lua-users home
lua-l archive

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


> Good, good. So what level of stack manipulation would be considered
> safe? Can I, say, safely retrieve a number from the registry? Again,
> thank you so much for the explanation.

We will update the manual. The panic function can do anything, except
that:

1) it cannot return (or else Lua aborts the program).

2) it must check for stack space before pushing anything.

-- Roberto