PageRenderTime 42ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/bloody_hell.i

#
Swig | 18 lines | 11 code | 7 blank | 0 comment | 0 complexity | ecb80cb4553ecf9dee1ebd2d485ec580 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module bloody_hell
  2. %warnfilter(SWIGWARN_RUBY_WRONG_NAME) kMaxIOCTLSpaceParmsSize;
  3. #define kMaxIOCTLSpaceParmsSize 128
  4. %{
  5. #define kMaxIOCTLSpaceParmsSize 128
  6. %}
  7. %inline %{
  8. typedef struct sm_channel_ix_dump_parms {
  9. unsigned data[(kMaxIOCTLSpaceParmsSize - ((4*sizeof(int)) + (2*sizeof(unsigned))))/sizeof(unsigned)];
  10. } SM_CHANNEL_IX_DUMP_PARMS;
  11. %}