diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-01-27 08:54:44 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-01-27 09:01:00 +0000 |
commit | 7339de974dde92dbc9bb912e4f94091aee82f0ec (patch) | |
tree | 35246643f57f2d470cd85fb5a40f1df7a2a3505e /CHANGES.current | |
parent | 95eb6649ead4cb593e5e2c11f0899ac3b48c624d (diff) | |
download | swig-7339de974dde92dbc9bb912e4f94091aee82f0ec.tar.gz |
Fix static const char member variables wrappers with %javaconst(1).
This fixes the case when an integer is used as the initializer, such as:
struct W { static const char w = 100; };
The "valuetype" attribute has been added to the "cdecl" Node which enables
us to distinguish the declared type from the type of the initializer.
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES.current b/CHANGES.current index 4406f1225..2091d89a2 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,9 +5,15 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.9 (in progress) =========================== +2016-01-27: wsfulton + [Java] Fix static const char member variables wrappers with %javaconst(1). + This fixes the case when an integer is used as the initializer, such as: + + struct W { static const char w = 100; }; + 2016-01-26: wsfulton [Java] Fix generated code parsing enum values using char escape sequences - when these values appear in the Java code (usually when using %javaconst) + when these values appear in the Java code (usually when using %javaconst(1)) such as: enum X { x1 = '\n', x2 = '\1' }; |