lua-users home
lua-l archive

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


>So, what I'm trying to use is lua_ref and lua_pushref, but lua_pushref 
>isn't defined in my copy of the 5.0 code from lua.org.  I'm not even sure 
>this will work, but it looked promising.

lua_ref, lua_unref, lua_getref are defined in lua.h but you need to link with
lualib in addition to the Lua core.
--lhf