*** empty log message ***
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4829 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
1a7caba8b5
commit
17a09e3d6c
1 changed files with 24 additions and 0 deletions
|
|
@ -1,5 +1,29 @@
|
|||
Version 1.3.20 (In progress)
|
||||
============================
|
||||
05/29/2003: beazley
|
||||
Refinement to default typemap matching and arrays. When an
|
||||
array is declared like this:
|
||||
|
||||
int foo[4];
|
||||
|
||||
The default typemap now resolves to
|
||||
|
||||
SWIGTYPE [ANY]
|
||||
|
||||
If no match is found for that, it then resolves to
|
||||
|
||||
SWIGTYPE []
|
||||
|
||||
If no array dimension is specified in the original declaration,
|
||||
the SWIGTYPE [] is used right away.
|
||||
|
||||
Note: This change has been made to resolve problems related to
|
||||
arrays with and without dimensions. For example, sometimes SWIG
|
||||
was generating setter functions for array variables with no dimensions
|
||||
(an error). Likewise, SWIG sometimes made arrays with dimensions
|
||||
read-only (also an error). This fixes the arrays_global test
|
||||
problem.
|
||||
|
||||
05/28/2003: beazley
|
||||
Fixed subtle type handling bug with references and pointers.
|
||||
If you had functions like this:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue