cdef public declarations
(this thread is related to the thread "Question about how best require compiler options for C sources") I have a question for Cython users and developers: are you sure that "cdef public" actually works as documented at http://docs.cython.org/src/userguide/external_C_code.html#public-declaration... I couldn't find it tested in the Cython testsuite, although it's not easy to know what to grep for. I hightly doubt that it works on OS X because of the difference between shared libraries (with .dylib extension) and loadable modules/bundles (with .so extension).
On Tue, Apr 12, 2016 at 10:36 AM, Jeroen Demeyer <jdemeyer@cage.ugent.be> wrote:
(this thread is related to the thread "Question about how best require compiler options for C sources")
I have a question for Cython users and developers: are you sure that "cdef public" actually works as documented at http://docs.cython.org/src/userguide/external_C_code.html#public-declaration...
I couldn't find it tested in the Cython testsuite, although it's not easy to know what to grep for. I hightly doubt that it works on OS X because of the difference between shared libraries (with .dylib extension) and loadable modules/bundles (with .so extension).
Do you have a reference about this distinction on hand? I've seen .dylib files on OSX before but never understood the distinction. I tend to irrationally avoid learning anything about OSX for as long as possible, the way most OSS people do with Windows :) Seems like a good question though.
On 2016-04-12 10:49, Erik Bray wrote:
Do you have a reference about this distinction on hand?
I think these two links are useful: [1] http://docstore.mik.ua/orelly/unix3/mac/ch05_03.htm [2] http://stackoverflow.com/questions/2339679/what-are-the-differences-between-...
participants (2)
-
Erik Bray -
Jeroen Demeyer