Re: Mapping 64 bit int from C to Python-2.2

2009-03-10 Thread Mark Hammond
On 10/03/2009 2:51 AM, Explore_Imagination wrote: Hi 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 in 2.5). Now the problem is that I have these four variables: unit32_t a,b,c; uint64_t w,x,y,z; I use

Re: Mapping 64 bit int from C to Python-2.2 ?????

2009-03-10 Thread Martin v. Löwis
> Any Suggestions? Read all of the responses you got the last time you posted the very same article. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list

Mapping 64 bit int from C to Python-2.2 ?????

2009-03-10 Thread Explore_Imagination
Hi 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 in 2.5). Now the problem is that I have following variables: unit32_t a,b,c; uint64_t w,x,y,z; I use this funtion to map values: Py_BuildValue( "(l

Re: Mapping 64 bit int from C to Python-2.2

2009-03-10 Thread Explore_Imagination
On Mar 9, 5:57 pm, MRAB wrote: > Explore_Imagination wrote: > > Hi > > > 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 > > in 2.5). > > > Now the problem is that I have these four variables: > > > unit

Re: Mapping 64 bit int from C to Python-2.2

2009-03-10 Thread Explore_Imagination
On Mar 9, 5:57 pm, MRAB wrote: > Explore_Imagination wrote: > > Hi > > > 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 > > in 2.5). > > > Now the problem is that I have these four variables: > > > unit

Re: Mapping 64 bit int from C to Python-2.2

2009-03-10 Thread Explore_Imagination
On Mar 9, 5:57 pm, MRAB wrote: > Explore_Imagination wrote: > > Hi > > > 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 > > in 2.5). > > > Now the problem is that I have these four variables: > > > unit

Re: Mapping 64 bit int from C to Python-2.2

2009-03-09 Thread Gabriel Genellina
En Mon, 09 Mar 2009 13:51:59 -0200, Explore_Imagination escribió: 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 in 2.5). Now the problem is that I have these four variables: unit32_t a,b,c; uint64_t

Re: Mapping 64 bit int from C to Python-2.2

2009-03-09 Thread pruebauno
On Mar 9, 11:51 am, Explore_Imagination wrote: > Hi > > 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 > in 2.5). > > Now the problem is that I have these four variables: > > unit32_t a,b,c; > uint64_t w,

Re: Mapping 64 bit int from C to Python-2.2

2009-03-09 Thread MRAB
Explore_Imagination wrote: Hi 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 in 2.5). Now the problem is that I have these four variables: unit32_t a,b,c; uint64_t w,x,y,z; I use this funtion to map va

Mapping 64 bit int from C to Python-2.2

2009-03-09 Thread Explore_Imagination
Hi 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 in 2.5). Now the problem is that I have these four variables: unit32_t a,b,c; uint64_t w,x,y,z; I use this funtion to map values: Py_BuildValue( "(l