Hi there,
I read the official ctypes tutorial and also searched SO, but I could not find a way to declare this kind of structure with ctypes. This structure is returned by one of the functions I write an Python interface for.
typedef struct{
int i;
float *b1;
float (*w1)[];
}foo;
This is what I have so far:
class foo(Structure):
_fields_=[("i",c_int),
("b1",POINTER(c_int)),
("w1",?????????)]
Thanks for your help!