*** empty log message ***

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5603 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2003-12-28 21:49:26 +00:00
commit 7ba978b269
2 changed files with 29 additions and 3 deletions

View file

@ -1,3 +1,29 @@
Version 1.3.21 (in progress)
==================================
12/28/2003: cheetah (William Fulton)
[Java and C#] Fixes for wrapping covariant (polymorphic) return types.
For example:
struct Base {
virtual ~Base();
virtual Base* copy() const = 0;
};
struct Derived : Base {
virtual Derived* copy() const;
};
The Derived::copy proxy method returns Base not Derived. A warning is issued
about this. Previously the pointer used by the proxy class was incorrectly
treated as a Base* instead of a Derived*.
12/18/2003: cheetah (William Fulton)
Fix so that Windows paths are displayed correctly when reporting errors.
An error previously would have been shown something like:
.?xample.i:14: Syntax error in input.
instead of:
.\example.i:14: Syntax error in input.

6
TODO
View file

@ -1,6 +1,6 @@
SWIG TO-DO
Release: SWIG-1.3.19
Release: SWIG-1.3.20
$Header$
-----------------------------------------------------------------------------
@ -361,8 +361,8 @@ C#
[DONE] Need a way to throw a C# exception from the PINVOKE C/C++ code.
*** The correct override/virtual keywords not always emitted for polymorphic
methods. It currently only works when 'virtual' is specified in a derived
[DONE] The correct override/virtual keywords not always emitted for polymorphic
methods. It currently works with 'virtual' is specified in a derived
C++ class function. A polymorphic method need not specify 'virtual' in C++.
**** Wrap C/C++ enums with C# enums, currently they are wrapped with a C# int.