[Cython] new idea for typedef integrals
Robert Bradshaw
robertwb at math.washington.edu
Tue Jul 7 12:36:55 CEST 2009
On Jul 3, 2009, at 6:25 PM, Greg Ewing wrote:
> Lisandro Dalcin wrote:
>
>> cdef extern from *: # note the "?" annotation
>> ctypedef singed MyIntType1?
> ^^^^^^
>
> Is this a special data type for CPUs that are
> running too hot?
:). The "unknown size" is because you don't know how many useable
bits are left.
On a more serious note, I'd probably prefer
cdef extern from *:
ctypedef signed int? MyIntType1
- Robert
More information about the Cython-dev
mailing list