1 Jul 2003 01:39
Enhancement suggestion.
Krzysztof Kozminski <Krzysztof.A.Kozminski <at> nsc.com>
2003-06-30 23:39:32 GMT
2003-06-30 23:39:32 GMT
If a function is overloaded and invoked without any arguments, swig
produces error like this:
Foo_bar: No matching function for overloaded 'Foo_bar'
It would be more user-friendly if the list of usages of the available
overloads were produced. For example, if I have two methods in class Foo:
bar (Kuku * kuku);
bar (Dudu * dudu);
I'd like this error message instead of the current one:
Foo_bar: ambiguous invocation of overloaded 'Foo_bar'. Use one of:
Foo_bar kuku
Foo_bar dudu
Incidentally, it would be also nice for the error message to indicate
the expected argument types, but this would require some serious
changes, I suppose...
KK
_______________________________________________
Swig maillist - Swig <at> cs.uchicago.edu
http://mailman.cs.uchicago.edu/mailman/listinfo/swig
RSS Feed