1 /* SF Bug #445219, submitted by Krzysztof Kozminski
2 <kozminski@users.sf.net>.
4 Swig 1.3.6 gets confused by pure virtual destructors,
8 %module(ruby_minherit="1") pure_virtual
10 %warnfilter(SWIGWARN_JAVA_MULTIPLE_INHERITANCE,
11 SWIGWARN_CSHARP_MULTIPLE_INHERITANCE,
12 SWIGWARN_PHP_MULTIPLE_INHERITANCE) E; /* C#, Java, PHP multiple inheritance */
25 virtual void something() = 0;
26 virtual void method() = 0;
33 virtual void something() { };
34 virtual void method() { };
37 /* class C is abstract because it doesn't define all methods in A */
41 virtual void method() { };
45 /* class D is not abstract, it defines everything */
49 virtual void something() { };
53 /* Another abstract class */
57 virtual void method2() = 0;
60 /* Multiple inheritance between two abstract classes */
61 class E : public C, public AA {
63 virtual void something() { };
67 /* Fill in method from AA. This class should be constructable */
69 %ignore F::method2(); // Work around for lack of multiple inheritance support - base AA is ignored.
75 virtual void method2() { }