[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Default metatable?
- From: "Peter Loveday" <peter@...>
- Date: Fri, 20 Aug 2004 09:19:46 +0930
I need to be able to provide a default metatable for tables created during
execution of a script.
I was considering modifying OP_NEWTABLE to set the metatable, but I noticed
there is a _defaultmeta in the lua_State. Is there a way I can use this to
acheive what I want? If so, how do I set it...
Thanks!
Love, Light and Peace,
- Peter Loveday