As posted some time ago, here you have some work (BTW, awaiting
review) http://trac.cython.org/cython_trac/ticket/333
But recently I was thinking on something... What about a parser
modification to accept code like the below one?:
cdef extern from *: # note the "?" annotation
ctypedef singed MyIntType1?
ctypedef singed MyIntType2? "something"
Perhaps the uses knows that some typedef ACTUALLY match the extern
one. And then, we should not second-guess the user.
Moreover, this is fully backwards... The new unknow-size handling code
will only be used if a typedef is explicitly marked as an unknow-size
type.
What do you think?
--
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