check/fix the %delobject feature for member methods

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8604 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-29 01:21:52 +00:00
commit ab03eb18e7
2 changed files with 13 additions and 8 deletions

View file

@ -116,7 +116,7 @@ protected:
~G() { }
public:
void destroy() { delete this; }
static void destroy(G *g) { delete g; }
};
class GG : public G {