On Tue, Nov 18, 2008 at 10:39 AM, Dag Sverre Seljebotn <[EMAIL PROTECTED]> wrote: > Idea: I was thinking of perhaps a transform that ran through the tree > and replaced anything that is a compile-time expression with its literal > result, i.e.
But this will not work with external definitions. For example, in MPI I have to deal with C constants like MPI_MAX_OBJECT_NAME. I declare all them as external enumerations, and there is no way to tell Cython de actual value (as it depend on the mpi.h header, and expected to be different for each MPI implementation). -- 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
