>> Wrapped luaL_register > > Not merged, as you say in the commit message, there's a TODO point and > I'm not sure it works correctly then. That function has three commits which you have recognized. They suppose to be squashed, but I didn't know about rebase feature in git. >From now on will provide cleaner patches :) I attached a squashed patch though.
>> Changed lua stack indexing with negative values > > Hm, I doubt that's correct. I mean it is, but the problem you're facing > is probably that when this function is called, the stack is not empty, > whereas it should. Could you try to print the stack using the debug > function doing that and eventually fix the real cause? That makes sense. Will take a look Arvydas
luaL_register.patch
Description: Binary data
