[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2: userdata environment tables gone?
- From: Doug Currie <doug.currie@...>
- Date: Sat, 24 Dec 2011 22:37:27 -0500
On Dec 24, 2011, at 10:10 PM, Josh Haberman wrote:
> What's the Lua 5.2 way of letting a userdata contain references to other Lua values?
From http://www.lua.org/manual/5.2/manual.html#8.1
>
> To manipulate the "environment" of a userdata (which is now called user value), use the new functions lua_getuservalue and lua_setuservalue.
e