Remove warning: 'self' is a ruby keyword, renaming to 'C_self' since improving autodoc for Ruby

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12882 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2011-12-21 22:01:27 +00:00
commit a5f8ffba91
4 changed files with 40 additions and 43 deletions

View file

@ -10,7 +10,7 @@
virtual std::string ping() { return "Foo::ping()"; }
virtual std::string pong() { return "Foo::pong();" + ping(); }
static Foo* get_self(Foo *self) {return self;}
static Foo* get_self(Foo *slf) {return slf;}
};
@ -27,7 +27,7 @@
virtual std::string ping();
virtual std::string pong();
static Foo* get_self(Foo *self);
static Foo* get_self(Foo *slf);
};