Fixed [ 763563 ] Missing indication of optional arguments
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4998 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ed503b6737
commit
6b5d7e8801
1 changed files with 2 additions and 2 deletions
|
|
@ -794,8 +794,8 @@ public:
|
|||
}
|
||||
/* Now go through and print parameters */
|
||||
i = 0;
|
||||
pcount = ParmList_len(l);
|
||||
numopt = 0; /*check_numopt(l); */
|
||||
pcount = emit_num_arguments(l);
|
||||
numopt = pcount - emit_num_required(l);
|
||||
for (p = l; p; p = nextSibling(p)) {
|
||||
|
||||
SwigType *pt = Getattr(p,"type");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue