|
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 <roberto@inf.puc-rio.br> wrote:
> 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.
-- Roberto
Lua