lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> > 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.

Best regards,

--
DoubleF