middleclass library

29 views
Skip to first unread message

Sivansethu G

unread,
Jul 20, 2012, 8:12:17 AM7/20/12
to ipho...@googlegroups.com
In Wax lua file, I have created instance of objective class and need to pass middleclass (OOP library) instance  as parameter, However this is not working.

However in luaJava they can pass it as object to java.

Is there a way to do same here

Regards
Sethu

André Braga

unread,
Jul 20, 2012, 8:30:36 AM7/20/12
to ipho...@googlegroups.com
Unless you show us some code or reduced test case it's not going to be
possible at all to help you.

And it's probably not going to work. Corey did his own magic wrapping
Lua tables as objects, that's bound to conflict with middleclass'
overriding of meta tables.

I think you'll have to stick with the Wax way of creating classes.
Reply all
Reply to author
Forward
0 new messages