use $self special variable instead of self in %extend

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9533 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-11-08 01:01:37 +00:00
commit 65c52f7c06
20 changed files with 52 additions and 52 deletions

View file

@ -41,7 +41,7 @@ void do_stuff(Foo *f) {
%extend Foo {
~Foo() {
free((void *) self);
free((void *) $self);
g_fooCount--;
}
}