|
Wim Couwenberg wrote:
do you use lua_checkstack to make sure that there is room enough on the stack? Are the collected stack slots set to nil?
No but I am about to. There should only be 4 items on my thread stack.
You can also compile Lua with lua_assert defined to some assert expression and see what happens.
Thanks for the tip.