lua-users home
lua-l archive

Re: What is 'light' user data?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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.
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /