|
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=falseto it.