Modify following features to work as flags, so that they can be truely set and unset: kwargs,
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7581 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
90db4bb7b3
commit
c81ffa2bfa
1 changed files with 1 additions and 1 deletions
|
|
@ -1167,7 +1167,7 @@ static void default_arguments(Node *n) {
|
|||
if (compact_default_args
|
||||
|| is_cfunction(function)
|
||||
|| GetFlag(function,"feature:compactdefaultargs")
|
||||
|| Getattr(function,"feature:kwargs")) {
|
||||
|| GetFlag(function,"feature:kwargs")) {
|
||||
ParmList *p = Getattr(function,"parms");
|
||||
if (p)
|
||||
Setattr(p,"compactdefargs", "1"); /* mark parameters for special handling */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue