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?

Hi, from the 5.3 manual for luaL_ref:

"Creates and returns a reference, in the table at index t, for the object at the top of the stack (and pops the object)."