On Sat, Sep 26, 2009 at 4:36 AM, Greg Ewing <[email protected]> wrote: > >> On Sep 25, 2009, at 9:35 AM, Lisandro Dalcin wrote: >> >>>The first way, related to the "public" keyword, is based on >>>DL_EXPORT/DL_IMPORT stuff and CROSS-LINKING extension modules. > > It's actually designed for making things available to > C code that's statically linked with the extension module. > Dynamic linking between extension modules is not something > I ever intended to support. >
OK, I got it wrong, but not sure if it was 100% my fault... Why do you DL_EXPORT/DL_IMPORT the stuff for making the symbols available to the other statically linked C codes? Isn´t a bare 'extern' enough? This is what F2Py does, for examples... and AFAIK, that works on Linux/OS X/Windows... In short, I think that DL_EXPORT/DL_IMPORT is misleading for the use case you intended to support... Am I missing something here? -- 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
