[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Metatables, C and Script...
- From: "Kenk" <kenk@...>
- Date: Fri, 23 Oct 2009 10:42:22 -0400
Can I extend an object defined in C with a metatable, with more methods
myObject = FuncDefinedInC.CreateObjWithMetaInC()
function ExtendMetaForMyObject : SomeScriptFunction()
-- other stuff defined in script.
Or once you define a metatable for an object, you can't extend it at all?
Either it's defined in C or it's defined in script, you can't do both?
Thanks for any help!