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:
William S Fulton 2003-12-02 22:17:44 +00:00
commit 9f6df388f1

View file

@ -9,3 +9,11 @@ JAVA_ARRAYSOFCLASSES(SimpleStruct)
%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;
};
%}