lua-users home
lua-l archive

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


On Sat, Oct 30, 2010 at 8:31 PM, HyperHacker <hyperhacker@gmail.com> wrote:
Store the value in the registry table under some unique name.

even better, use luaL_ref() to get a unique integer id, pass that int
around in C, and use lua_rawgeti() to pick from the registry.

All great suggestions, thank you very much!

- Bas