From 43e9376cbc47aa2ddd08fd44c9fabcef94b695f5 Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sat, 1 Nov 2003 20:30:59 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5241 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- SWIG/CHANGES.current | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/SWIG/CHANGES.current b/SWIG/CHANGES.current index 1e5417231..28efb15c4 100644 --- a/SWIG/CHANGES.current +++ b/SWIG/CHANGES.current @@ -78,6 +78,26 @@ Version 1.3.20 (In progress) be subclassed in Perl and used normally. Patch contributed by Salvador Fandiño García. +10/16/2003: cheetah (William Fulton) + [C#] IntPtr marshalled with a void* instead of int in C function + declarations. The casts thus look more conventional, for example: + + // old + DllExport double SWIGSTDCALL CSharp_get_Shape_x(int jarg1) { + ... + Shape *arg1 = (Shape *) 0 ; + arg1 = *(Shape **)&jarg1; + ... + } + // new + DllExport double SWIGSTDCALL CSharp_get_Shape_x(void * jarg1) { + ... + Shape *arg1 = (Shape *) 0 ; + arg1 = (Shape *)jarg1; + ... + } + + 10/14/2003: beazley Fixed a subtle problem with overloaded methods and smart pointers. If a class has overloaded methods like this: