*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4564 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
34a220f341
commit
d890ee232e
1 changed files with 22 additions and 0 deletions
|
|
@ -1,5 +1,27 @@
|
||||||
Version 1.3.18 (In progress)
|
Version 1.3.18 (In progress)
|
||||||
============================
|
============================
|
||||||
|
03/17/2003: beazley
|
||||||
|
Fixed a subtle problem with passing arguments of type function. For
|
||||||
|
example:
|
||||||
|
|
||||||
|
int foo(int x(int, int));
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
typedef int binop_t(int, int);
|
||||||
|
int foo(binop_t x);
|
||||||
|
|
||||||
|
In old versions, this would produce code that wouldn't compile. Now,
|
||||||
|
SWIG merely adds an extra pointer, making these declarations the same
|
||||||
|
as:
|
||||||
|
|
||||||
|
int foo(int (*x)(int, int));
|
||||||
|
|
||||||
|
typedef int binop_t(int, int);
|
||||||
|
int foo(binop_t *x);
|
||||||
|
|
||||||
|
Reported by Garth Bushell.
|
||||||
|
|
||||||
03/17/2003: mrose (Mark Rose)
|
03/17/2003: mrose (Mark Rose)
|
||||||
Fixed the return statement for director base class calls that have no
|
Fixed the return statement for director base class calls that have no
|
||||||
return value.
|
return value.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue