Re: C pointer representation in python

2007-11-26 Thread abarun22
HI Thanks for the suggestion and i believe that seems a good idea. But because of some work related constraints i have to use SWIG for the moment. Regards Arun Terry Reedy wrote: > <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > | Hi > | I am new to SWIG and python. I have a proble

Re: C pointer representation in python

2007-11-26 Thread Terry Reedy
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi | I am new to SWIG and python. I have a problem while trying to call a C | function from Python using SWIG as an interface. Did you consider using the ctypes module? (It is new in the stdlib for 2.5, I believe.) Some consider it ea

C pointer representation in python

2007-11-26 Thread abarun22
Hi I am new to SWIG and python. I have a problem while trying to call a C function from Python using SWIG as an interface. The function is defined as follows. void* myfunc(TfichierDLR *fichier, char *nom, char *type, char *txt, char *classe, TicThemeDLR *icTheme, int **num, int *ier) The last two