|
typemap for overloaded contructor: msg#00103programming.swig
Hi, I get TypeError: No matching function for overloaded 'new_PriismFile' I have these constructors: PriismFile(float *img3DStack, int nx, int ny, int nz); PriismFile(unsigned short *img3DStack, int nx, int ny, int nz); and these typemaps %typemap(python,in) (unsigned short *img3DStack, int nx, int ny, int nz) <...> %typemap(python,in) (float *img3DStack, int nx, int ny, int nz) <...> If I comment out any one of the two contructors it recognizes it fine, but as soon as I have more than one contructor I get the error. I call swig like this: swig -Wall -python -globals v -c++ $(InputPath) and get no warnings. any help would be perfect. Have a nice day, Sebastian _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: export: 00103, Elmira Mazloomian |
|---|---|
| Next by Date: | typemap for overloaded contructor: 00103, David Beazley |
| Previous by Thread: | visual studio makefilesi: 00103, list67 |
| Next by Thread: | typemap for overloaded contructor: 00103, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |