On Thu, May 21, 2009 at 7:32 AM, Dag Sverre Seljebotn <[email protected]> wrote: > 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. >
What about making Cython behave like this: For this Cython code: cdef extern from "<sys/time.h>": pass generate the C include like htis: #include <sys/time.h> > Dag Sverre > > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
