lua-users home
lua-l archive

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


Hi everyone.
I need to gain acces to a pointer of a C++ object, wrapped by Luna.
For instance, I need to pass an object of type Account as a parameter of a C
function.

i.e.
local account = Account()
myfunction(account)

I don't know how, within "myfunction" obtain the pointer to the 'account'
instance ? I thought that the pointer would be in the table, but I couldn't
find it.

Thanks in advance
Ignacio Burgueño