summaryrefslogtreecommitdiff
path: root/Examples/python/extend
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2005-11-08 15:48:51 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2005-11-08 15:48:51 +0000
commit6de5dc38feee49325e0ce52af107de1925aa8a8b (patch)
tree4c03bdbeae2e86ab228bf7a411f7e5f37d000b8f /Examples/python/extend
parent53aca58eb3d7766961622fc96d84e3c95fb2129e (diff)
downloadswig-6de5dc38feee49325e0ce52af107de1925aa8a8b.tar.gz
use preinst-swig in all the examples
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7821 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Examples/python/extend')
-rw-r--r--Examples/python/extend/Makefile2
-rw-r--r--Examples/python/extend/runme.py7
2 files changed, 1 insertions, 8 deletions
diff --git a/Examples/python/extend/Makefile b/Examples/python/extend/Makefile
index 7588b72e0..ad36d7d7e 100644
--- a/Examples/python/extend/Makefile
+++ b/Examples/python/extend/Makefile
@@ -1,5 +1,5 @@
TOP = ../..
-SWIG = $(TOP)/../swig
+SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i
diff --git a/Examples/python/extend/runme.py b/Examples/python/extend/runme.py
index 97fad2de8..da4d46e8b 100644
--- a/Examples/python/extend/runme.py
+++ b/Examples/python/extend/runme.py
@@ -12,13 +12,6 @@ class CEO(example.Manager):
example.Manager.__init__(self, name)
def getPosition(self):
return "CEO"
- def __del__(self):
- print "CEO.__del__(),", self.getName()
- # for shadow class extensions that are not "disowned" and
- # define a __del__ method, it is very important to call the
- # base class __del__. otherwise the c++ objects will never
- # be deleted.
- example.Manager.__del__(self)
# Create an instance of our employee extension class, CEO. The calls to