> > I may be misunderstanding but ... Don't you just keep creating
> > userdata and filling up the Lua stack? There's no lua_pop or similar.
> > luaL_unref [-0, +0, -] only unrefs the object, but doesn't pop it.
> luaL_ref pops the userdata from the stack.
Ah, right, sorry for the noise.