lua-users home
lua-l archive

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


Hmm.. I see... I think page 123 accomplishes what I'm looking to do. let me play with that...

Thanks,

Ken
----- Original Message ----- From: "Luiz Henrique de Figueiredo" <lhf@tecgraf.puc-rio.br>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Friday, October 23, 2009 11:40 AM
Subject: Re: Metatables, C and Script...


Or once you define a metatable for an object, you can't extend it at all?

A metatable is just a plain ordinary table. You can do anything to it.
OTOH, you may choose to protect it from Lua code by adding __metatable=false
to it.