64-bit integers in Cython

Posted by Homayoon on Stack Overflow See other posts from Stack Overflow or by Homayoon
Published on 2010-06-10T20:52:51Z Indexed on 2010/06/11 13:53 UTC
Read the original article Hit count: 220

Filed under:
|
|

I'm trying to interface a C++ library (pHash) with Python using Cython, but I have trouble with some of the types. The library functions use "unsigned long long" and I can't find a way to declare variables and parameters with this type. I searched for a list of the types that I can use with cdef but I found nothing. Can anyone point me to such a list (if it exists) or otherwise suggest a way to use 64 bit types in Cython? Thanks.

© Stack Overflow or respective owner

Related posts about python

Related posts about types