|
On Dec 24, 2011, at 10:10 PM, Josh Haberman wrote:From http://www.lua.org/manual/5.2/manual.html#8.1
> What's the Lua 5.2 way of letting a userdata contain references to other Lua values?
>
> To manipulate the "environment" of a userdata (which is now called user value), use the new functions lua_getuservalue and lua_setuservalue.