Lisandro wrote:
> For this Cython code:
>
> cdef extern from "<sys/time.h>":
>    pass
>
> generate the C include like htis:
>
> #include <sys/time.h>

-0

What is the point? It usually makes absolutely no difference for the C
compiler, as "sys/time.h" isn't going to be located in
build/temp-linux..../pyrex/ anyway.

(Unless you rely on the "-iquote" feature of gcc. I suppose we could start
using -iquote it to point to the base of the .pyx file ... personally I
just consider this a misfeature of C preprocessor though.)

http://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html

Dag Sverre

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to