Hi Nathann. On Sun, Sep 22, 2013 at 12:44:34PM +0200, Nathann Cohen wrote: > Hmmm... I really tried this way (that's what I called "compiling it > through Cython" in my message).
i see. a closer look into module_list.py reveals that the c/cc code is just added to cython autogenerated code. urghs. is this what you tried/want to do? > and I really can't get it to work. The > only thing that does it for me now is a .pxd file with a "cdef extern > from 'myfile.cc'", and it produces a segfault >_< if yourfile.cc contains the implementation, you probably want to add a header with just the prototypes, and cdef from there (but i'm not so totally sure about what cython/distutils will do with it -- cross your fingers properly). have fun felix -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/groups/opt_out.
