Add c++11 strongly typed enum support for PHP
This commit is contained in:
parent
91c5b0fd13
commit
3efd3affbd
3 changed files with 171 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue