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 prob

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 prob

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 prob

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

Re: How to convert uint64 in C into Python 32bit Object [ I am using Python2.2 ]

2008-12-11 Thread Explore_Imagination
On Dec 11, 4:45 am, John Machin <[EMAIL PROTECTED]> wrote: > On Dec 11, 9:49 am, Explore_Imagination <[EMAIL PROTECTED]> > wrote: > > > Hi all > > > I am new to C and python ... I want to convert C data type uint64 > > variable into the Python 32bit Object

How to convert uint64 in C into Python 32bit Object [ I am using Python2.2 ]

2008-12-10 Thread Explore_Imagination
Hi all I am new to C and python ... I want to convert C data type uint64 variable into the Python 32bit Object. I am currently using Python 2.2 [ It is necessary to use it ] Kindly give your suggestion how and in which way I can achieve this task. Looking forward for your positive feedback. Che