lua-users home
lua-l archive

Re: ctb macro and BIT_ISCOLLECTABLE

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


2015年06月05日 16:35 GMT+02:00 Dibyendu Majumdar <mobile@majumdar.org.uk>:
> Didn't realize that Lua types have a metatable associated with them.
> What are they used for?
Fooling around, mostly. There have been interesting posts on this
list on what you can do with metatables for nil and function, for
example. In the case of string, of course, the metatable is already
exploited by the string library.

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