[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: What is 'light' user data?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 23 Sep 2013 19:06:51 -0300
> Would you care to elaborate on this, as I am having some difficulty
> understanding what you mean.
> Are you referring to internal Lua code or a user's Lua code?
> If internal, how can Lua not know of a table which needs collecting at some
> point in the future?
Now I am having problems undestanding what you mean. What would be
"internal Lua code"?
What I meant was that, typically, this table associating light userdata
with Lua objects is in the registry, and the lookup is done by C code.