diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 49a3eacc4..38e76f3bc 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -1,5 +1,18 @@ Version 1.3.20 (In progress) ============================ +05/28/2003: beazley + Fixed subtle type handling bug with references and pointers. + If you had functions like this: + + typedef Foo Bar; + + Foo *func1(); + void func2(Bar &x); + + Then func2() wouldn't accept objects returned by func1() + because of a type error. It should work now. + Reported by Brian Yang. + 05/21/2003: cheetah (William Fulton) Fixes to some of the Visual C++ example project files which would not work with spaces in the paths held in the environment variables used to diff --git a/SWIG/Source/Swig/swig.h b/SWIG/Source/Swig/swig.h index 19bfa01bc..e6fe63608 100644 --- a/SWIG/Source/Swig/swig.h +++ b/SWIG/Source/Swig/swig.h @@ -197,6 +197,7 @@ extern void SwigType_del_pointer(SwigType *t); extern void SwigType_add_array(SwigType *t, String_or_char *size); extern SwigType *SwigType_pop_arrays(SwigType *t); extern void SwigType_add_reference(SwigType *t); +extern void SwigType_del_reference(SwigType *t); extern void SwigType_add_qualifier(SwigType *t, String_or_char *qual); extern void SwigType_add_function(SwigType *t, ParmList *parms); extern void SwigType_add_template(SwigType *t, ParmList *parms);