From: Ole K. S. H. <okh...@st...> - 2008-06-13 06:17:24
|
We're trying to map c++ pointers to java arrays with the typemaps in arrays_java.i. We've included %include "arrays_java.i"; %apply int[ANY] {int *}; in our interface file, but get multiple errors when compiling: error C2065: 'arg2_size' : undeclared identifier error C2065: 'arg3_size' : undeclared identifier .. .. error C2065: 'arg8_size' : undeclared identifier error C2065: 'result_dim0' : undeclared identifier When we look inside the generated _wrap.cxx file, there are no declaration of these identifiers before usage (as the error says). This is really a crucial part of our wrapper, so hopefully there are some sain explanation to this. |