From 1e21896d50719d70d0e44101d28eac37c18da666 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 16 Oct 2004 23:16:40 +0000 Subject: [PATCH] Added an important Marcelo patch that wasn't documented git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6406 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/CHANGES.current b/CHANGES.current index d84d89297..10493e1cc 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -164,7 +164,7 @@ Version 1.3.23 (in progress) 10/06/2004: mmatus 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 ... @@ -179,11 +179,9 @@ Version 1.3.23 (in progress) #if __cplusplus 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". - - 10/05/2004: wuzzeb (John Lenz) - Reorganize how runtime type information is stored and shared between modules. For chicken and mzscheme, I removed @@ -214,17 +212,15 @@ Version 1.3.23 (in progress) 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. - Maybe we should rename it to SWIG_OPTIONS - - New command line flag: -features , as in swig -features autodoc=3,director 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. 10/04/2004: mmatus @@ -239,6 +235,16 @@ Version 1.3.23 (in progress) Now the methods look from general to particular, and 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 'creating' the methods and applying the features.