William S Fulton
0a9113dcba
Correct php testcase
2017-09-19 07:37:29 +01:00
William S Fulton
9e2a12416c
Fix type promotion wrapping some non-trivial constant expressions
...
This was previously an integral type instead of a floating point type:
2017-09-18 07:06:27 +01:00
William S Fulton
90ba174fce
Fix generated code for constant expressions containing wchar_t L literals.
...
Such as:
# define __WCHAR_MAX (0x7fffffff + L'\0')
Reported on swig-user mailing list.
2017-09-17 19:02:55 +01:00
Olly Betts
c8a5f84cd1
[PHP7] Wrap bool constants as PHP booleans
...
Leave PHP5 wrapping them as integers as this change could cause
incompatibilities.
Fixes issue https://github.com/swig/swig/issues/686 noted by Nishant
Gupta.
2016-11-30 17:19:11 +13:00