diff options
Diffstat (limited to 'Examples/test-suite/packageoption_c.i')
-rw-r--r-- | Examples/test-suite/packageoption_c.i | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Examples/test-suite/packageoption_c.i b/Examples/test-suite/packageoption_c.i new file mode 100644 index 000000000..f43e47002 --- /dev/null +++ b/Examples/test-suite/packageoption_c.i @@ -0,0 +1,13 @@ +%module(package="PackageC") "packageoption_c"; + +%import "packageoption_a.i" + +%inline %{ +#include "packageoption.h" + +struct Derived : Base { + virtual int vmethod() { return 2; } + virtual ~Derived() {} +}; + +%} |