[Pyrex] External declarations and GCC-XML?

John J Lee jjl at pobox.com
Tue Jul 22 14:13:45 CEST 2003


On Tue, 22 Jul 2003, Greg Ewing wrote:
[...]
> ever be fully automated, however, because there isn't enough
> information in a C header file for Pyrex to find out everything
> it needs to know.

What is the missing information?  I can only think of exception return
value declarations.


> > I guess it's mostly about the difference between Pyrex syntax and C
> > syntax?  If so, might something like GCC-XML be a good solution?
>
> Actually, that's the least of the difficulties -- if syntax were
> the only issue, it would almost be trivial. The real problems
> mostly concern what to do about #defines, #ifdefs, etc...
[...]

OK, this must obviously be a naive question somehow, but: why doesn't
running everything through the C preprocessor solve those issues?


John





More information about the Pyrex mailing list