/trunk/Examples/test-suite/enum_plus.i
Swig | 12 lines | 10 code | 2 blank | 0 comment | 0 complexity | 8010dfd6796253ea405f7b7b866094df MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module enum_plus
- %warnfilter(SWIGWARN_RUBY_WRONG_NAME) iFoo; /* Ruby, wrong constant name */
- %inline %{
- struct iFoo
- {
- enum {
- Phoo = +50
- };
- };
- %}