%extend changes and remove default use of javatype, dtype, cstype %typemaps
1) The %extend directive can now optionally support one of the 'class', 'struct' or 'union'. 2) The SWIG library no longer uses the javatype, dtype or cstype typemaps, thereby completely freeing them up for users to use without having to replicate the library code that they previously added Tested by changes to test: java_lib_arrays
This commit is contained in:
parent
19f21d1dd5
commit
449aa08124
7 changed files with 65 additions and 18 deletions
|
|
@ -7,6 +7,30 @@ the issue number to the end of the URL: https://github.com/swig/swig/issues/
|
|||
Version 3.0.12 (in progress)
|
||||
============================
|
||||
|
||||
2017-01-15: wsfulton
|
||||
[C# D Java]
|
||||
The SWIG library no longer uses the javatype, dtype or cstype typemaps, thereby
|
||||
completely freeing them up for users to use without having to replicate the library
|
||||
code that they previously added. The code previously generated by these typemaps
|
||||
has been replaced by the new %proxycode directive. Their use in the library code
|
||||
was fairly minimal:
|
||||
|
||||
C# cstype: std_array.i std_map.i std_vector.i
|
||||
D dtype: std_vector.i
|
||||
Java javatype: arrays_java.i
|
||||
|
||||
2017-01-14: wsfulton
|
||||
The %extend directive can now optionally support one of the 'class', 'struct' or 'union'
|
||||
keywords before the identifier name, for example:
|
||||
|
||||
struct X { ... };
|
||||
%extend struct X { ... }
|
||||
|
||||
Previously this had to specified as:
|
||||
|
||||
struct X { ... };
|
||||
%extend X { ... }
|
||||
|
||||
2017-01-13: wsfulton
|
||||
[C# D Java] Add new %proxycode directive which is a macro for %insert("proxycode").
|
||||
This is a way of adding pure C#/D/Java code into the appropriate proxy class, eg:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue