Fix support for "numinputs" in typemap argument in C++ wrappers

Ignore the parameters with numinputs==0 for C++ wrappers too, just as it
was already done for C ones.
This commit is contained in:
Vadim Zeitlin 2021-12-07 20:47:33 +01:00
commit 26810a5f02

View file

@ -865,7 +865,10 @@ public:
Swig_typemap_attach_parms("cxxin", p, NULL);
for (; p; p = nextSibling(p)) {
for (; p; p = Getattr(p, "tmap:in:next")) {
if (Checkattr(p, "tmap:in:numinputs", "0"))
continue;
String* const name = Getattr(p, "lname");
cxx_ptype_desc ptype_desc;