Update for new runtime library approach (no more -runtime -noruntime)

Comment about inline destructors needed for some compilers added


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6535 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-27 20:59:55 +00:00
commit 8dced082d4
34 changed files with 109 additions and 336 deletions

View file

@ -2,12 +2,10 @@ bar.py
base.py
foo.py
spam.py
runtime.py
bar.pyc
base.pyc
foo.pyc
spam.pyc
runtime.pyc
*_wrap.c
*_wrap.cxx
*.dll

View file

@ -16,6 +16,6 @@ all::
clean::
$(MAKE) -f $(TOP)/Makefile python_clean
@rm -f foo.py bar.py spam.py base.py runtime.py
@rm -f foo.py bar.py spam.py base.py
check: all

View file

@ -13,12 +13,15 @@ a separate C++ class.
bar.i - Bar class derived from Base
spam.i - Spam class derived from Bar
Each module used %import to refer to another module. For
Each module uses %import to refer to another module. For
example, the 'foo.i' module uses '%import base.i' to get
definitions for its base class.
If everything is okay, all of the modules will load correctly and
type checking will work correctly.
If everything is okay, all of the modules will load properly and
type checking will work correctly. Caveat: Some compilers, for example
gcc-3.2.x, generate broken vtables with the inline methods in this test.
This is not a SWIG problem and can usually be solved with non-inlined
destructors compiled into separate shared objects/DLLs.
Unix:
-----