From ae537a5b9a932e1d7bd05421b88eb3867d63f404 Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Thu, 29 May 2003 18:27:32 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4829 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGES.current b/CHANGES.current index 38e76f3bc..746127734 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,5 +1,29 @@ Version 1.3.20 (In progress) ============================ +05/29/2003: beazley + Refinement to default typemap matching and arrays. When an + array is declared like this: + + int foo[4]; + + The default typemap now resolves to + + SWIGTYPE [ANY] + + If no match is found for that, it then resolves to + + SWIGTYPE [] + + If no array dimension is specified in the original declaration, + the SWIGTYPE [] is used right away. + + Note: This change has been made to resolve problems related to + arrays with and without dimensions. For example, sometimes SWIG + was generating setter functions for array variables with no dimensions + (an error). Likewise, SWIG sometimes made arrays with dimensions + read-only (also an error). This fixes the arrays_global test + problem. + 05/28/2003: beazley Fixed subtle type handling bug with references and pointers. If you had functions like this: