[PHP] Fix assertion failure when handling %typemap(in,numinputs=0)
(testcase ignore_parameter). git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10565 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
376adf0e64
commit
caf2c6904b
2 changed files with 8 additions and 0 deletions
|
|
@ -1439,6 +1439,10 @@ public:
|
|||
if (wrapperType == memberfn)
|
||||
p = nextSibling(p);
|
||||
while (p) {
|
||||
if (GetInt(p, "tmap:in:numinputs") == 0) {
|
||||
p = nextSibling(p);
|
||||
continue;
|
||||
}
|
||||
assert(0 <= argno && argno < max_num_of_arguments);
|
||||
String *&pname = arg_names[argno];
|
||||
const char *pname_cstr = GetChar(p, "name");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue