PageRenderTime 19ms CodeModel.GetById 16ms app.highlight 1ms RepoModel.GetById 1ms 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
 1%module enum_plus
 2
 3%warnfilter(SWIGWARN_RUBY_WRONG_NAME) iFoo; /* Ruby, wrong constant name */
 4
 5%inline %{
 6struct iFoo 
 7{ 
 8    enum { 
 9       Phoo = +50 
10    }; 
11}; 
12%}