Re: [Cython] Exporting inline functions from a pyx.

2015-05-30 Thread Robert Bradshaw
On Sat, May 30, 2015 at 10:46 PM, Stefan Behnel wrote: > Jesus-Omar Ocegueda-Gonzalez schrieb am 27.05.2015 um 04:17: >> we recently faced an issue exporting >> inline functions defined in a .pyx. According to this: >> http://docs.cython.org/src/tutorial/pxd_files.html >> the full inline definitio

Re: [Cython] Exporting inline functions from a pyx.

2015-05-30 Thread Stefan Behnel
Jesus-Omar Ocegueda-Gonzalez schrieb am 27.05.2015 um 04:17: > we recently faced an issue exporting > inline functions defined in a .pyx. According to this: > http://docs.cython.org/src/tutorial/pxd_files.html > the full inline definition (not just the declaration) should be in the pxd. > However,

Re: [Cython] Exporting inline functions from a pyx.

2015-05-28 Thread Jesus-Omar Ocegueda-Gonzalez
It was a mistake. I just wanted to export a function from the .pyx, and I did not consider the fact that inline functions should be treated differently (the standard procedure for me was just to add the declaration in the .pxd, the inline thingy looked inoffensive =) ). The inconvenient was that in

Re: [Cython] Exporting inline functions from a pyx.

2015-05-28 Thread Robert Bradshaw
On Tue, May 26, 2015 at 7:17 PM, Jesus-Omar Ocegueda-Gonzalez wrote: > Dear Cython developers, > thanks for the awesome compiler!, we recently faced an issue exporting > inline functions defined in a .pyx. According to this: > http://docs.cython.org/src/tutorial/pxd_files.html > the full inline de

[Cython] Exporting inline functions from a pyx.

2015-05-26 Thread Jesus-Omar Ocegueda-Gonzalez
Dear Cython developers, thanks for the awesome compiler!, we recently faced an issue exporting inline functions defined in a .pyx. According to this: http://docs.cython.org/src/tutorial/pxd_files.html the full inline definition (not just the declaration) should be in the pxd. However, if we put the