My code in C++ is
StructureEx* obj; // structure
functionEx((void**)&obj);
and my function is
int functionEx(void** obj); //calling function
I am new to CFFI. So my question is
How can I achieve the same in CFFI?
How to find the address of a pointer, pointer to structure in CFFI?
I know casting to void**
can be done by
ffi.cast("void*",address)
But how can I get that address and pass to the function?