Added an important Marcelo patch that wasn't documented

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6406 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-16 23:16:40 +00:00
commit b3a1974387

View file

@ -164,7 +164,7 @@ Version 1.3.23 (in progress)
10/06/2004: mmatus 10/06/2004: mmatus
Fix the __cplusplus macro, and bug 1041170. Fix the __cplusplus macro, and bug 1041170.
Now it is working as supposed, ie, you can safetly use Now it is working as supposed, ie, you can safely use
#ifdef __cplusplus #ifdef __cplusplus
... ...
@ -179,11 +179,9 @@ Version 1.3.23 (in progress)
#if __cplusplus #if __cplusplus
doesn't work any more. So, if you have your own typemaps doesn't work any more. So, if you have your own typemaps
using that syntax, you will need to migrate them use using that syntax, you will need to migrate them to use
"#ifdef __cplusplus". "#ifdef __cplusplus".
10/05/2004: wuzzeb (John Lenz) 10/05/2004: wuzzeb (John Lenz)
- Reorganize how runtime type information is stored and shared - Reorganize how runtime type information is stored and shared
between modules. For chicken and mzscheme, I removed between modules. For chicken and mzscheme, I removed
@ -214,17 +212,15 @@ Version 1.3.23 (in progress)
virtual ~A() throw(); virtual ~A() throw();
}; };
- Now SWIG_FEAUTURES parse all and the same options you - Now SWIG_FEATURES parse all and the same options you
can pass to swig in the command line. can pass to swig in the command line.
Maybe we should rename it to SWIG_OPTIONS
- New command line flag: -features <list>, as in - New command line flag: -features <list>, as in
swig -features autodoc=3,director swig -features autodoc=3,director
ie, any global feature can be initialized from the ie, any global feature can be initialized from the
command line. This is mainly for testing, but user command line. This is mainly for testing, but users
can also take advantage of it. can also take advantage of it.
10/04/2004: mmatus 10/04/2004: mmatus
@ -239,6 +235,16 @@ Version 1.3.23 (in progress)
Now the methods look from general to particular, and Now the methods look from general to particular, and
override any found feature. override any found feature.
- Previously a feature could not be applied to constructors
or destructors that weren't explicitly declared in the class.
This is now fixed, for example:
%feature("featurename") Foo() "..."
%feature("featurename") ~Foo() "..."
class Foo {
// implicit Foo() and ~Foo()
};
- Fix missing features for default const/dest, by really - Fix missing features for default const/dest, by really
'creating' the methods and applying the features. 'creating' the methods and applying the features.