|
Mark Hamburg wrote:
Create a new Lua state. Push some values to it. Call a utility function that happens to type check the values on the stack. luaL_argerror which is what luaL_typerror calls which is what luaL_checktype calls is unhappy when there is no stack frame.
I ran into this recently myself! I thought it was just my fault for using luaL_checktype calls in a function that wasn't called by Lua code, and stopped doing that... --Adam -- Adam D. Moss . ,,^^ adam@gimp.org http://www.foxbox.org/ co:3