[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Metatables, C and Script...
- From: "Kenk" <kenk@...>
- Date: Fri, 23 Oct 2009 10:42:22 -0400
Hi everyone,
Can I extend an object defined in C with a metatable, with more methods
in script?
--in Script
myObject = FuncDefinedInC.CreateObjWithMetaInC()
function ExtendMetaForMyObject : SomeScriptFunction()
-- other stuff defined in script.
end
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!
Ken