I want to create a typemap for two sequential argument types but I don't want to specify the variable names. The documentation states that this should be possible, but multi-argument typemaps only seem to work when variable names are given:
-----------------------------
%module multi_test;
/*
// Does not work
%typemap(default) (int &, int &) {
// FOUND
}
*/
// Works
%typemap(default) (int &a, int &b) {
// FOUND
}
class Foobar {
public:
Foobar();
void test(int &a, int &b);
~Foobar();
};
-----------------------------
BTW, I saw this also reported at the following URL but did not find a bug submitted for it:
http://thread.gmane.org/gmane.comp.programming.swig/8527/focus=8536
Duplicate of 2313691.