Add c++11 strongly typed enum support for PHP

This commit is contained in:
William S Fulton 2014-11-27 08:14:43 +00:00
commit 3efd3affbd
3 changed files with 171 additions and 2 deletions

View file

@ -14,7 +14,7 @@
signed char,
bool,
enum SWIGTYPE
"SWIG_LONG_CONSTANT($symname, $value);";
"SWIG_LONG_CONSTANT($symname, ($1_type)$value);";
%typemap(consttab) float,
double