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:
parent
57ba3a7245
commit
26810a5f02
1 changed files with 4 additions and 1 deletions
|
|
@ -865,7 +865,10 @@ public:
|
||||||
|
|
||||||
Swig_typemap_attach_parms("cxxin", p, NULL);
|
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");
|
String* const name = Getattr(p, "lname");
|
||||||
|
|
||||||
cxx_ptype_desc ptype_desc;
|
cxx_ptype_desc ptype_desc;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue