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