diff options
author | Dave Beazley <dave-swig@dabeaz.com> | 2000-09-03 21:25:59 +0000 |
---|---|---|
committer | Dave Beazley <dave-swig@dabeaz.com> | 2000-09-03 21:25:59 +0000 |
commit | d325d11c4611ffa2734954fd4ab9dc5cd53ad9f4 (patch) | |
tree | 579999e4bafe8d59f47207c7359d9213557700b0 /CHANGES | |
parent | d2c2d5ac09a414955b89efaaef61f7d01f78bd59 (diff) | |
download | swig-d325d11c4611ffa2734954fd4ab9dc5cd53ad9f4.tar.gz |
*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@817 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -3,6 +3,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 wrapper function allowing access to scripting language |