|
So after I added lua_checkstack() calls before creating a number of user values everything is fine again. Does lua_newtable() (and all functions that push values) need this as well? What does lua_newuseradate() actually return when there is not enough space on stack, NULL or some rogue pointer?