lua-users home
lua-l archive

Re: Fast way to determine if there is only one reference to an object?

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


On 10/23/07, Duncan Cross <duncan.cross@gmail.com> wrote:
> Is there a good way (through the C API, presumably) to determine
> whether there is more than one reference to a given object (table,
don't think so, because Lua uses a true GC, not ref-counting.
maybe what you really need are weak references?
-- 
Javier

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