[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Possible to add methods in Lua to metatables defined in C?
- From: Andrew Budd <andrew.budd@...>
- Date: Thu, 3 May 2012 11:46:19 -0400
Bear with me if I'm misunderstanding something.
I have written a lua library in C, and am using metatables for methods. What I would like to do is add additional methods to those metatables from Lua. The issue seems to be that I can't access the handle for the metatable, and even if I could, it's not clear that I would be able to add a function to the table. Am I barking up the wrong tree here? or am I missing something obvious?
Best regards,
-Andrew