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:
Lyle Johnson 2004-09-01 02:49:23 +00:00
commit 922fc2b77a

View file

@ -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 */