fixed %template declared within class, next to template declaration

added a few tests for C# nested classes support
This commit is contained in:
Vladimir Kalinin 2013-12-16 11:43:28 +04:00
commit 865408874f
6 changed files with 172 additions and 1 deletions

View file

@ -0,0 +1,22 @@
import derived_nested.*;
public class derived_nested_runme {
static {
try {
System.loadLibrary("derived_nested");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. See the chapter on Dynamic Linking Problems in the SWIG Java documentation for help.\n" + e);
System.exit(1);
}
}
public static void main(String argv[]) {
BB outer = new BB();
BB.DD d = new BB.DD();
BB.EE e = new BB.EE();
outer.getFf_instance().setZ(outer.getFf_instance().getX());
outer.useEE(e);
}
}