Obtaining pointer to a C++ object
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Obtaining pointer to a C++ object
- From: Ignacio Burgueño <ignacio@...>
- Date: 2002年9月18日 11:54:52 -0300
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