Added test for arrays of C structs (not typedef'd)
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5463 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e021185ad1
commit
9f6df388f1
1 changed files with 8 additions and 0 deletions
|
|
@ -9,3 +9,11 @@ JAVA_ARRAYSOFCLASSES(SimpleStruct)
|
||||||
|
|
||||||
%include "arrays.i"
|
%include "arrays.i"
|
||||||
|
|
||||||
|
// This will test the %typemap(javacode) in the JAVA_ARRAYSOFCLASSES works with C structs amongst other things
|
||||||
|
JAVA_ARRAYSOFCLASSES(struct AnotherStruct)
|
||||||
|
%inline %{
|
||||||
|
struct AnotherStruct {
|
||||||
|
SimpleStruct simple;
|
||||||
|
};
|
||||||
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue