CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6466 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
8998bdbc10
commit
cafb3a1d73
4 changed files with 37 additions and 2 deletions
|
|
@ -1,6 +1,37 @@
|
|||
Version 1.3.23 (in progress)
|
||||
============================
|
||||
|
||||
10/20/2004: mmatus
|
||||
- [Python] Initial fix for python/import example. Please
|
||||
update the Makefile (autoconf, configure, etc, expert),
|
||||
since now probably is only working with g++, icc and a
|
||||
few other compilers that have the -shared option.
|
||||
|
||||
We need to create additional shared libraries for the
|
||||
virtual destructors. Old and usually forgotten C++
|
||||
requirement.
|
||||
|
||||
Same fix need to be used in perl, I think.
|
||||
|
||||
- [Python] Fix generation of header file for directors,
|
||||
now directors.swg is also included, so, it can be really
|
||||
used from C++, and it solves some problem with compiler
|
||||
that require that, even with the simple swig inclusion.
|
||||
|
||||
- [Python] Reordering the methods and moving some bodies
|
||||
outside the class declaration. This is needed due to
|
||||
some gcc-2.96 internal compiler errors. It seems the
|
||||
PYTHON class is getting too large to been declared and
|
||||
defined at the same time.
|
||||
|
||||
- Add the -oh option to change the output header file if
|
||||
needed.
|
||||
|
||||
swig -c++ -python test.i -o test.CC -oh test.H
|
||||
|
||||
this is mainly to use with directors, if the current
|
||||
default header file name is not good for you.
|
||||
|
||||
10/20/2004: wsfulton
|
||||
1) Compact default arguments feature added. This feature allows one
|
||||
to use the default argument code generation that was used in
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
#######################################################################
|
||||
|
||||
LANGUAGE = python
|
||||
PYTHON = python
|
||||
SCRIPTSUFFIX = _runme.py
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
|
|
@ -64,7 +65,7 @@ LIBS = -L.
|
|||
# a file is found which has _runme.py appended after the testcase name.
|
||||
run_testcase = \
|
||||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PYTHONPATH=$(srcdir):$$PYTHONPATH python $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH PYTHONPATH=$(srcdir):$$PYTHONPATH $(PYTHON) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
|
||||
fi;
|
||||
|
||||
# Clean: remove the generated .py file
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#ifndef SWIG_DIRECTOR_PYTHON_HEADER_
|
||||
#define SWIG_DIRECTOR_PYTHON_HEADER_
|
||||
/***********************************************************************
|
||||
* director.swg
|
||||
*
|
||||
|
|
@ -190,3 +192,4 @@ namespace Swig {
|
|||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ typedef struct swig_const_info {
|
|||
not always safe.
|
||||
*/
|
||||
#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
|
||||
#define SWIG_COBJECT_TYPES
|
||||
//#define SWIG_COBJECT_TYPES
|
||||
#endif
|
||||
|
||||
/* Flags for pointer conversion */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue