S
sapsi
Hello,
I have a C function f(void**,int *), in which it writes some
information (it is a RGB32 image).
Here is what i do
rowlength=c_int()
data=c_void_p()
d=pointer(data)
f(d,byref(rowlength)
The call works (no segmentation fault), now how do i access the data
in d? Because i need to pass it to a another function QImage that
takes void* as its first parameter.
If i do d.contents i get c_void_p(3067478024L)
All suggestions welcome.
Regards
Saptarshi
I have a C function f(void**,int *), in which it writes some
information (it is a RGB32 image).
Here is what i do
rowlength=c_int()
data=c_void_p()
d=pointer(data)
f(d,byref(rowlength)
The call works (no segmentation fault), now how do i access the data
in d? Because i need to pass it to a another function QImage that
takes void* as its first parameter.
If i do d.contents i get c_void_p(3067478024L)
All suggestions welcome.
Regards
Saptarshi