From e91a00ae50e60bb9b7f92f4bb563130ad6a70f50 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Tue, 20 Mar 2012 19:17:06 +0000 Subject: [PATCH] Avoiod Ruby keyword warning git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12938 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/director_nspace.i | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/test-suite/director_nspace.i b/Examples/test-suite/director_nspace.i index f730592f3..9861d9596 100644 --- a/Examples/test-suite/director_nspace.i +++ b/Examples/test-suite/director_nspace.i @@ -28,7 +28,7 @@ namespace Bar virtual Foo makeFoo() { return Foo(); } virtual FooBar makeFooBar() { return FooBar(); } - static Foo* get_self(Foo *self) {return self;} + static Foo* get_self(Foo *self_) {return self_;} }; } @@ -63,6 +63,6 @@ namespace Bar virtual Foo makeFoo(); virtual FooBar makeFooBar(); - static Foo* get_self(Foo *self); + static Foo* get_self(Foo *self_); }; }