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:
parent
f7246bc667
commit
ab03eb18e7
2 changed files with 13 additions and 8 deletions
|
|
@ -116,7 +116,7 @@ protected:
|
|||
~G() { }
|
||||
|
||||
public:
|
||||
void destroy() { delete this; }
|
||||
static void destroy(G *g) { delete g; }
|
||||
};
|
||||
|
||||
class GG : public G {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue