PageRenderTime 43ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/trunk/Examples/test-suite/errors/c_redefine.i

#
Swig | 20 lines | 9 code | 11 blank | 0 comment | 0 complexity | ad76fe3f0e72aacdfa92397cdbac6b58 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. %module xxx
  2. int foo(int x, int y);
  3. int foo;
  4. int bar(int x);
  5. struct bar {
  6. int y;
  7. };
  8. %rename(bar) spam;
  9. int spam(int);