|
Re: Dispatch function (for function overloading) does not use typemap s: msg#00162programming.swig
On Nov 27, 2003, at 3:50 AM, Sluis, Minto van der wrote: Hi, [ snip ] If you are going to use typemaps and overloading together, you need to be aware that there is an additional typemap that is used to perform the typechecking needed during dispatch. In the case of the example above, you can probably insert something like this into your program: %typecheck(SWIG_TYPECHECK_STRING) ID, ID & = char *; Take a look at the file Lib/tcl/tcl8.swg for more examples of using %typecheck. This doesn't appear to be documented very well (if at all) in 1.3.19. I'm going to take a look at the pending 1.3.20 release to make sure this is described. Cheers, Dave _______________________________________________ Swig maillist - Swig@xxxxxxxxxxxxxxx http://mailman.cs.uchicago.edu/mailman/listinfo/swig |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Dispatch function (for function overloading) does not use typemap s: 00162, Sluis, Minto van der |
|---|---|
| Next by Date: | Re: Passing pointers to longs: 00162, William S Fulton |
| Previous by Thread: | Dispatch function (for function overloading) does not use typemap si: 00162, Sluis, Minto van der |
| Next by Thread: | STL python typemaps: 00162, yuval |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |