From bf0ee4471c02273da944f4858b46b45a15cc2f8d Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Wed, 29 Jul 2009 20:50:39 +0000 Subject: [PATCH] (method, typelist) special variable macro fixed/enhanced and made official git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11470 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 5 + Doc/Manual/Contents.html | 12 +- Doc/Manual/Typemaps.html | 102 +++++- Examples/test-suite/common.mk | 1 + .../special_variable_functions_runme.cs | 18 ++ Examples/test-suite/csharp_prepost.i | 5 +- .../special_variable_functions_runme.java | 28 ++ .../special_variable_functions_runme.py | 12 + .../test-suite/special_variable_functions.i | 121 +++++++ Source/Modules/csharp.cxx | 18 +- Source/Modules/java.cxx | 18 +- Source/Modules/lang.cxx | 25 ++ Source/Modules/modula3.cxx | 17 +- Source/Modules/swigmod.h | 9 +- Source/Swig/scanner.c | 1 + Source/Swig/swig.h | 1 + Source/Swig/typemap.c | 300 ++++++++++-------- 17 files changed, 532 insertions(+), 161 deletions(-) create mode 100644 Examples/test-suite/csharp/special_variable_functions_runme.cs create mode 100644 Examples/test-suite/java/special_variable_functions_runme.java create mode 100644 Examples/test-suite/python/special_variable_functions_runme.py create mode 100644 Examples/test-suite/special_variable_functions.i diff --git a/CHANGES.current b/CHANGES.current index cc411774e..4fe0b3ff9 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,6 +1,11 @@ Version 1.3.40 (in progress) ============================ +2009-07-29: wsfulton + Add $typemap(method, typelist) special variable macro. This allows + the contents of a typemap to be inserted within another typemap. + Fully documented in Typemaps.html. + 2009-07-29: vmiklos [PHP] Static member variables are now prefixed with the class name. This allows static member variables with the diff --git a/Doc/Manual/Contents.html b/Doc/Manual/Contents.html index e997e46cb..ee19f9b73 100644 --- a/Doc/Manual/Contents.html +++ b/Doc/Manual/Contents.html @@ -337,13 +337,13 @@
  • Typemap specifications -
  • Pattern matching rules +
  • Pattern matching rules
  • Common typemap methods diff --git a/Doc/Manual/Typemaps.html b/Doc/Manual/Typemaps.html index 8137bfcfe..226b4ef3e 100644 --- a/Doc/Manual/Typemaps.html +++ b/Doc/Manual/Typemaps.html @@ -22,13 +22,13 @@
  • Typemap specifications -
  • Pattern matching rules +
  • Pattern matching rules
  • Common typemap methods