CHANGES.current
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6437 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7010b3004e
commit
f114279074
1 changed files with 40 additions and 32 deletions
|
|
@ -45,8 +45,9 @@ Version 1.3.23 (in progress)
|
||||||
|
|
||||||
- **** New default type resolution method (stype.c) *****
|
- **** New default type resolution method (stype.c) *****
|
||||||
|
|
||||||
It preserves the original mixed types, then it goes 'backward'
|
It preserves the original mixed types, then it goes
|
||||||
first deleting the qualifier, then the inner types
|
'backward' first deleting the qualifier, then the inner
|
||||||
|
types, for example:
|
||||||
|
|
||||||
typedef A *Aptr;
|
typedef A *Aptr;
|
||||||
const Aptr&;
|
const Aptr&;
|
||||||
|
|
@ -55,7 +56,6 @@ Version 1.3.23 (in progress)
|
||||||
r.p.SWIGTYPE -> r.SWIGTYPE
|
r.p.SWIGTYPE -> r.SWIGTYPE
|
||||||
r.SWIGTYPE -> SWIGTYPE
|
r.SWIGTYPE -> SWIGTYPE
|
||||||
|
|
||||||
|
|
||||||
enum Hello {};
|
enum Hello {};
|
||||||
const Hello& hi;
|
const Hello& hi;
|
||||||
r.q(const).Hello -> r.q(const).enum SWIGTYPE
|
r.q(const).Hello -> r.q(const).enum SWIGTYPE
|
||||||
|
|
@ -72,13 +72,13 @@ Version 1.3.23 (in progress)
|
||||||
a().SWIGTYPE -> p.SWIGTYPE
|
a().SWIGTYPE -> p.SWIGTYPE
|
||||||
p.SWIGTYPE -> SWIGTYPE
|
p.SWIGTYPE -> SWIGTYPE
|
||||||
|
|
||||||
before it always stops after finding ref/pointer/enum/array/etc.
|
before it always stops after finding ref/pointer/enum/array/etc.
|
||||||
|
|
||||||
Now, then, you can define (use and apply) 'higher' typemaps such as:
|
Now, then, you can define (use and apply) 'higher' typemaps such as:
|
||||||
|
|
||||||
%typemap(in) SWIGTYPE* const&
|
%typemap(in) SWIGTYPE* const&
|
||||||
%typemap(out) char FIXSIZE[ANY]
|
%typemap(out) char FIXSIZE[ANY]
|
||||||
%typemap(in) SWIGTYPE* const&
|
%typemap(in) SWIGTYPE* const&
|
||||||
%typemap(in) const enum SWIGTYPE&
|
%typemap(in) const enum SWIGTYPE&
|
||||||
%typemap(in) SWIGTYPE[ANY][ANY]
|
%typemap(in) SWIGTYPE[ANY][ANY]
|
||||||
%typemap(in) const char (&)[ANY]
|
%typemap(in) const char (&)[ANY]
|
||||||
|
|
@ -118,9 +118,17 @@ Version 1.3.23 (in progress)
|
||||||
safe to use with %apply.
|
safe to use with %apply.
|
||||||
|
|
||||||
[Python]
|
[Python]
|
||||||
- Fix %callbacks/%pythoncallback to work as before
|
|
||||||
after the def args changes
|
|
||||||
|
|
||||||
|
- Fix %callback/%pythoncallback work now as before after
|
||||||
|
the def args changes. Also, %callback now is an alias
|
||||||
|
for %pythoncallback, so, they do the same.
|
||||||
|
|
||||||
|
[Python/Ruby]
|
||||||
|
- %callback is more usable and uniform:
|
||||||
|
|
||||||
|
%callback("%s_cb") foo(); // for both, python/ruby
|
||||||
|
%callback("%s_cb"); // for both, python/ruby
|
||||||
|
%callback(1) foo(); // only in python.
|
||||||
|
|
||||||
10/17/2004: arty
|
10/17/2004: arty
|
||||||
[OCAML]
|
[OCAML]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue