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@7585 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7ad869e745
commit
a333a56da0
1 changed files with 1 additions and 1 deletions
|
|
@ -1124,7 +1124,7 @@ public:
|
|||
int numarg = emit_num_arguments(l);
|
||||
int numreq = emit_num_required(l);
|
||||
int varargs = emit_isvarargs(l);
|
||||
bool allow_kwargs = Getattr(n,"feature:kwargs") ? true : false;
|
||||
bool allow_kwargs = GetFlag(n,"feature:kwargs") ? true : false;
|
||||
|
||||
bool ctor_director = (current == CONSTRUCTOR_INITIALIZE && Swig_directorclass(n));
|
||||
int start = (current == MEMBER_FUNC || current == MEMBER_VAR || ctor_director) ? 1 : 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue