From 922fc2b77a0156abca080dff7459fd4d1cf34703 Mon Sep 17 00:00:00 2001 From: Lyle Johnson Date: Wed, 1 Sep 2004 02:49:23 +0000 Subject: [PATCH] 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 --- Source/Modules/ruby.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Modules/ruby.cxx b/Source/Modules/ruby.cxx index c407471d6..94b03cffa 100644 --- a/Source/Modules/ruby.cxx +++ b/Source/Modules/ruby.cxx @@ -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 */