Pass "false" as the value for the "disown" argument of director-wrapped
constructors (instead of 0) to disambiguate it from pointer arguments. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
ae29b50240
commit
922fc2b77a
1 changed files with 1 additions and 1 deletions
|
|
@ -1908,7 +1908,7 @@ public:
|
|||
p = NewParm(NewString("bool"), NewString("disown"));
|
||||
Setattr(p, "arg:byname", "1");
|
||||
Setattr(n, "director:postfix_args", p);
|
||||
Setattr(p, "value", "0");
|
||||
Setattr(p, "value", "false");
|
||||
set_nextSibling(ip, p);
|
||||
|
||||
/* constructor */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue