Mohamed Lrhazi schrieb:
> exposing further my ignorance...
>
> In the header file I am working with, they have several declarations
> like: typedef struct FOO *FOO
>
> FOO itself in not defined anywhere else!
>
> What is FOO, then? and how do I translate and use that into Cython?
>
it's an opaque pointer, see:
http://en.wikipedia.org/wiki/Opaque_pointer#C
from extern "header.h":
struct FOO:
pass
ctypedef FOO *FOO #here, I'm not sure if this works
/martin
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev