PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. %module enum_plus
  2. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) iFoo; /* Ruby, wrong constant name */
  3. %inline %{
  4. struct iFoo
  5. {
  6. enum {
  7. Phoo = +50
  8. };
  9. };
  10. %}