lua-users home
lua-l archive

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


Hello,

How is the binding of a metatable to an object recorded? Is there an external table of (object:metatable) pairs?
Additional question: why isn't it set on the object itself (actually, it may be, but I couldn't access it)?

Also is there another idiom for:
   setmetatable(t1, getmetatable(t0))
?

Denis
________________________________

la vita e estrany

http://spir.wikidot.com/