[Cython] a problem with sizeof() return type
Lisandro Dalcin
dalcinl at gmail.com
Tue Feb 3 20:40:33 CET 2009
Cython treats sizeof() as if it returns 'int', but IMHO it should be 'size_t'.
Implementing this the right way would require to make Cython recognize
'size_t' as a native type, more or less in the way it already
recognizes 'Py_ssize_t'. What do you think about this?
--
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
More information about the Cython-dev
mailing list