From bccbdc5487b80653444bd8096b67f53be26f22ea Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Fri, 1 Apr 2005 22:59:08 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7135 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES.current | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 031dd2546..2e6bfe6e1 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -3,8 +3,22 @@ Version 1.3.25 (In progress) 03/31/2005: wsfulton Turned on extra template features previously only available to Python. - Enables extra typemaps to be picked up when %template() is used without - giving a template name. + This enables typemaps defined within a templated class to be used as + expected. Requires %template on the templated class, %template() will + also pick up the typemaps. Example: + + template struct Foo { + ... + %typemap(in) Foo "in typemap for Foo " + or + %typemap(in) Foo "in typemap for Foo " + }; + + %template(Foo_i) Foo; + %template() Foo; + + will generate the proper 'in' typemaps wherever Foo and Foo + are used. 03/30/2005: mkoeppe (Matthias Koeppe) [MzScheme] Patch from Hans Oesterholt for supporting MzScheme 30x.