*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5504 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a4f5f79349
commit
7c753acb96
1 changed files with 38 additions and 28 deletions
|
|
@ -1,9 +1,9 @@
|
||||||
Version 1.3.20 (In progress)
|
Version 1.3.20 (In progress)
|
||||||
============================
|
============================
|
||||||
12/07/2003: mmatus (Marcelo Matus)
|
12/07/2003: mmatus (Marcelo Matus)
|
||||||
The director protected member support had been
|
The director protected member support has been
|
||||||
completly moved out from python.cxx, and now
|
completly moved out from python.cxx, and now
|
||||||
resides in the common lang.cxx, emmit.cxx and
|
resides in the common lang.cxx, emit.cxx and
|
||||||
allocate.cxx files.
|
allocate.cxx files.
|
||||||
|
|
||||||
This means it should work for all the other languages
|
This means it should work for all the other languages
|
||||||
|
|
@ -28,53 +28,63 @@ Version 1.3.20 (In progress)
|
||||||
- Now the virtual members with no explicit declarator
|
- Now the virtual members with no explicit declarator
|
||||||
are properly identified:
|
are properly identified:
|
||||||
|
|
||||||
struct A {
|
struct A {
|
||||||
virtual int f() = 0;
|
virtual int f() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct B {
|
struct B : A {
|
||||||
int f();
|
int f();
|
||||||
};
|
};
|
||||||
|
|
||||||
Here, B::f() is virtual, and the director and the
|
Here, B::f() is virtual, and the director and the
|
||||||
virtual elimination mechanism now recognize that.
|
virtual elimination mechanism now recognize that.
|
||||||
|
|
||||||
|
- [C#] This fix also fixes the problem where 'override' was not being
|
||||||
|
used on any overridden virtual method, so for struct B above,
|
||||||
|
this C# code is generated:
|
||||||
|
|
||||||
|
public class B : A {
|
||||||
|
...
|
||||||
|
public override int f() {
|
||||||
|
...
|
||||||
|
}
|
||||||
|
...
|
||||||
|
}
|
||||||
|
|
||||||
- Initial support for protected virtual methods. They are now
|
- Initial support for protected virtual methods. They are now
|
||||||
properly emitted when using with director (python only by
|
properly emitted when using with director (python only by
|
||||||
now).
|
now).
|
||||||
|
|
||||||
%feature("director") A;
|
%feature("director") A;
|
||||||
struct A {
|
struct A {
|
||||||
protected:
|
protected:
|
||||||
virtual int f1() = 0;
|
virtual int f1() = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
%feature("director") B;
|
%feature("director") B;
|
||||||
struct B : A{
|
struct B : A{
|
||||||
protected:
|
protected:
|
||||||
int f1();
|
int f1();
|
||||||
virtual f2();
|
virtual f2();
|
||||||
};
|
};
|
||||||
|
|
||||||
This can be dissabled by using the '-nodirprot' option.
|
This can be dissabled by using the '-nodirprot' option.
|
||||||
|
|
||||||
- The feature 'nodirector' is working now at the top level,
|
- The feature 'nodirector' is working now at the top level,
|
||||||
so, it must work for all the languages:
|
so, it must work for all the languages:
|
||||||
|
|
||||||
%feature("director") A;
|
%feature("director") A;
|
||||||
%feature("nodirector") A::f2;
|
%feature("nodirector") A::f2;
|
||||||
|
|
||||||
struct A {
|
struct A {
|
||||||
virtual int f1();
|
virtual int f1();
|
||||||
virtual int f2();
|
virtual int f2();
|
||||||
};
|
};
|
||||||
|
|
||||||
in this case, only 'f1' is exported to the director class.
|
in this case, only 'f1' is exported to the director class.
|
||||||
|
|
||||||
- Added director support for const TYPE& arguments (python).
|
- Added director support for const TYPE& arguments (python).
|
||||||
|
|
||||||
|
|
||||||
12/02/2003: cheetah (William Fulton)
|
12/02/2003: cheetah (William Fulton)
|
||||||
[Java] Fix for INOUT and OUTPUT typemaps in typemaps.i for when the JNI type
|
[Java] Fix for INOUT and OUTPUT typemaps in typemaps.i for when the JNI type
|
||||||
is bigger than the C type. For example, unsigned long (32bits on most systems)
|
is bigger than the C type. For example, unsigned long (32bits on most systems)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue