From d890ee232eb7715abf09f661b230759752805f6f Mon Sep 17 00:00:00 2001 From: Dave Beazley Date: Mon, 17 Mar 2003 18:00:18 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4564 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- CHANGES.current | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/CHANGES.current b/CHANGES.current index dcd023bd1..505c4d700 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -1,5 +1,27 @@ Version 1.3.18 (In progress) ============================ +03/17/2003: beazley + Fixed a subtle problem with passing arguments of type function. For + example: + + int foo(int x(int, int)); + + or + + typedef int binop_t(int, int); + int foo(binop_t x); + + In old versions, this would produce code that wouldn't compile. Now, + SWIG merely adds an extra pointer, making these declarations the same + as: + + int foo(int (*x)(int, int)); + + typedef int binop_t(int, int); + int foo(binop_t *x); + + Reported by Garth Bushell. + 03/17/2003: mrose (Mark Rose) Fixed the return statement for director base class calls that have no return value.