|
python "named arguments" swig: msg#00092programming.swig
Hi all, when I search google for python "named arguments" swig NOTHING comes up :-( Is is not possible to call a SWIG-wrapped function from python by using argument names (and default args): I would like to wrap e.g. void f(int a, float color=3, int num=1) for python and being able to call it like this: f(7, num=13) I'm using SWIG 1.3.17. Thanks, 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: overloaded template functions: 00092, Zhong Ren |
|---|---|
| Next by Date: | Python and std::vector<unsigned long>: 00092, Sebastian Huber |
| Previous by Thread: | overloaded template functionsi: 00092, Zhong Ren |
| Next by Thread: | python "named arguments" swig: 00092, David Beazley |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |