fixed %template declared within class, next to template declaration
added a few tests for C# nested classes support
This commit is contained in:
parent
0cf116128b
commit
865408874f
6 changed files with 172 additions and 1 deletions
22
Examples/test-suite/java/derived_nested_runme.java
Normal file
22
Examples/test-suite/java/derived_nested_runme.java
Normal 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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue