flag the memberget/memberset methods and use it to deactivate kwargs, reported by amaury
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8257 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
49b7caf240
commit
f3cd3bfe21
3 changed files with 7 additions and 2 deletions
|
|
@ -1269,7 +1269,9 @@ public:
|
|||
* ------------------------------------------------------------ */
|
||||
|
||||
int check_kwargs(Node *n) {
|
||||
return (use_kw || GetFlag(n,"feature:kwargs"));
|
||||
return (use_kw || GetFlag(n,"feature:kwargs"))
|
||||
&& !GetFlag(n,"memberset") && !GetFlag(n,"memberget")
|
||||
&& !checkAttribute(n,"nodeType","destructor");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue