How to pass java object to lua then pass it back

40 views Asked by At

I'm using luajava. want to do like this

local result = luajava.newInstance("org.foo.Bar",javaobj);

Then i found i can't use javaobj as a argument

too many method needs a javaobj as argument

but i can't use complex argument in lua

0

There are 0 answers