lua-users home
lua-l archive

Re: Why no pairs() for userdata, __len for tables?

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


My bad. You can't set metatables on userdata.
Still, it's probably better to write any metadata functionality using C to
get around locking.
Mark

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