[Cython] cdef extern from "<sys/times.h>" ?

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Thu May 21 12:32:33 CEST 2009


Robert wrote:
> failed:
> cdef extern from <sys/times.h>:
> cdef extern from "<sys/times.h>":
>
> Or is it otherwise somehow possible to tell him library /I includes?

As long as you don't have a file called times.h in the same directory as
the compiled c file (which I suppose would only happen on --inplace),
"file" and <file> does the same.

In fact, one could argue that Cython should *always* use <file.h> instead
of "file.h", so that one always get the same behaviour regardless of build
method.

Or?

I don't know anything about your other question.

Dag Sverre



More information about the Cython-dev mailing list