Re: Python-list Digest, Vol 66, Issue 527

2009-03-27 Thread steve William
> > steve William wrote: > >> Hi All, >> >> I'm using SWIG for the first time and I am facing some problems with user >> defined header files. I'm trying to use my own header file in a C program >> which would be interfaced with python. >> >

Interfacing python and C

2009-03-27 Thread steve William
Hi All, I'm using SWIG for the first time and I am facing some problems with user defined header files. I'm trying to use my own header file in a C program which would be interfaced with python. The header file is test.h: *#include int fact(int n) { if (n <= 1) return 1; else return n

Interfacing python and C

2009-03-27 Thread steve William
Hi All, I'm using SWIG for the first time and I am facing some problems with user defined header files. I'm trying to use my own header file in a C program which would be interfaced with python. The header file is test.h: *#include int fact(int n) { if (n <= 1) return 1; else return n