lua-users home
lua-l archive

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


Brian Weed wrote:
My question is this: How can I store a reference to my lua object (a table) without there being an extra reference to it in Lua so it can be garbage collected?

Use the userdata's environment table. (in 5.1)