/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
- %module xxx
- int foo(int x, int y);
- int foo;
- int bar(int x);
- struct bar {
- int y;
- };
- %rename(bar) spam;
- int spam(int);