Mapping 64 bit int from C to Python-2.2 ?????
Mr.HassanShabbir at gmail.com
Tue Mar 10 09:34:32 CET 2009
I want to map 64 bit integers from C to python. I must use Python 2.2
BUT There is no support for 64 bits integers in Python2.2 (Supported
Now the problem is that I have following variables:
I use this funtion to map values:
Py_BuildValue( "(lllllll)", a,b,c,w,x,y,z );
As I access 32 bit values in Python it works fine BUT 64 bit intergers
in Pythong give garbage values . I think there may be a case of
overflow when 64 bit values in C are mapped to python.
I have tried by splitting 64-bit values but still it doesn't make any
More information about the Python-list