*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d2c2d5ac09
commit
d325d11c46
1 changed files with 23 additions and 0 deletions
23
CHANGES
23
CHANGES
|
|
@ -2,6 +2,29 @@ SWIG (Simplified Wrapper and Interface Generator)
|
|||
|
||||
Version 1.3 Alpha 4 (not yet released)
|
||||
======================================
|
||||
9/3/00 : beazley
|
||||
Experimental optimization to code generation for virtual member
|
||||
functions. If you have two classes like this:
|
||||
|
||||
class A() {
|
||||
virtual void foo();
|
||||
}
|
||||
|
||||
class B() : public A {
|
||||
virtual void foo();
|
||||
}
|
||||
|
||||
Swig will generate a single wrapper function like this
|
||||
|
||||
A_foo(A *a) {
|
||||
a->foo();
|
||||
}
|
||||
|
||||
and use it as the implementation of both A_foo() and B_foo().
|
||||
This optimization only takes place if both methods are declared
|
||||
as virtual and both take identical parameters.
|
||||
*** EXPERIMENTAL FEATURE ***
|
||||
|
||||
9/3/00 : beazley
|
||||
Restored the "memberin" typemap for setting structure members.
|
||||
Unlike the old version, the new version is expanded inline in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue