*** empty log message ***

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5241 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-11-01 20:30:59 +00:00
commit 43e9376cbc

View file

@ -78,6 +78,26 @@ Version 1.3.20 (In progress)
be subclassed in Perl and used normally. be subclassed in Perl and used normally.
Patch contributed by Salvador Fandiño García. 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 10/14/2003: beazley
Fixed a subtle problem with overloaded methods and smart pointers. Fixed a subtle problem with overloaded methods and smart pointers.
If a class has overloaded methods like this: If a class has overloaded methods like this: