lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> what would I have to do to the above code to pass the 
> TestDataObject in and get one back?

Just use the following methods:

LuaState.pushJavaObject
LuaState.toJavaObject

I don't know your background. In case you have little experience with Lua, I
think you should study Lua documentation and tutorials before digging into
LuaJava.

-- Danilo