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

# · Swig · 20 lines · 9 code · 11 blank · 0 comment · 0 complexity · ad76fe3f0e72aacdfa92397cdbac6b58 MD5 · raw file

  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);