[Pyrex] Possible syntax for direct cimport from C header files
John J Lee
jjl at pobox.com
Wed Jul 23 02:46:30 CEST 2003
On Tue, 22 Jul 2003, Greg Ewing wrote:
> John J Lee <jjl at pobox.com>:
[...]
> > from "foo/blah.h" cimport *
>
> I doubt whether Pyrex will ever read the .h files itself.
> Rather, there will be a tool that generates a .pxd file from
> a .h file (or as much of it as it can) which you then import
> using a normal cimport statement.
[...]
My motivation was that it seems unfortunate to have to duplicate data like
this.
John
More information about the Pyrex
mailing list