[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: C API question
- From: liam mail <liam.list@...>
- Date: Fri, 7 Jan 2011 14:36:36 +0000
Not so much that it is going to be removed I hope, how else would C code keep a reference to Lua data without generating its own id mechanism?
On 7 January 2011 14:28, Roberto Ierusalimschy <email@example.com>
> And while I'm at it, what's is the use case of luaL_ref and luaL_unrefThat is a good question. Since userdata got "environments" in 5.1
> after all?
(called uservalues, in 5.2), the need for luaL_ref diminished a lot.