/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/evil_diamond.i
Swig | 23 lines | 15 code | 8 blank | 0 comment | 0 complexity | e23f8eea9331467f8efd800b81f4dff3 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module evil_diamond
- %warnfilter(801) foo; // Ruby, wrong class name
- %warnfilter(801) bar; // Ruby, wrong class name
- %warnfilter(801) baz; // Ruby, wrong class name
- %warnfilter(801,802,813) spam; // Ruby, wrong class name; Ruby & Java, multiple inheritance
- %inline %{
- class foo { };
- class bar : public foo {
- };
- class baz : public foo {
- };
- class spam : public bar, public baz {
- };
- foo *test(foo *f) { return f; }
- %}