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
This commit is contained in:
Marcelo Matus 2005-11-08 15:48:51 +00:00
parent 53aca58eb3
commit 6de5dc38fe
21 changed files with 19 additions and 34 deletions

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -12,14 +12,6 @@ class PyCallback(example.Callback):
example.Callback.__init__(self)
def run(self):
print "PyCallback.run()"
def __del__(self):
print "PyCallback.__del__()"
# 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.Callback.__del__(self)
# Create an Caller instance

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -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

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS = example.cxx
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
CXXSRCS =
TARGET = example
INTERFACE = example.i

View File

@ -1,5 +1,5 @@
TOP = ../..
SWIG = $(TOP)/../swig
SWIG = $(TOP)/../preinst-swig
SRCS = example.c
TARGET = example
INTERFACE = example.i