[Pyrex] incomplete type

Bryan Weingarten bryan.weingarten at pobox.com
Thu Oct 23 05:09:10 CEST 2003


in a c header file, i have something like this:

-- c_header --
typedef struct _foo_t foo_t;
foo_t * get_foo(void)

and prototyped it in pyrex like this:

-- pyrex --
cdef extern from "c_header.h":
    ctypedef void foo_t
    foo_t * get_foo()

is declaring foo_t to be of type void the right thing to do?

thanks,

bryan







More information about the Pyrex mailing list