/trunk/Examples/test-suite/destructor_reprotected.i
Swig | 41 lines | 31 code | 10 blank | 0 comment | 0 complexity | 348584e6416fc66c7ba7dab2175ac371 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- %module destructor_reprotected
- %inline {
- struct A
- {
- A()
- {
- }
-
- virtual ~A()
- {
- }
-
- };
-
- struct B : A
- {
- protected:
- B()
- {
- }
-
- ~B()
- {
- }
-
- };
- struct C : B
- {
- C()
- {
- }
-
- ~C()
- {
- }
- };
- }