Hi, I'm trying to write a wrapper for a C library.
The C header from which I am making declaration has this:
struct Foo
{
int blah;
union
{
int Bar;
} data;
}
can this be wrapped in Cython?
I've tried:
cdef extern from "c.h":
ctypedef struct Foo:
int step
union data:
int Bar
but that doesnt compile.
Chris
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
