Hello,

I have defined a call:

%define CONSTTYPES( JNITYPE, JVTYPE, CPPTYPE )

%typemap(jni)       CPPTYPE, const CPPTYPE&      "JNITYPE"
%typemap(jtype)     CPPTYPE, const CPPTYPE&      "JVTYPE"
%typemap(jstype)    CPPTYPE, const CPPTYPE&      "JVTYPE"
%typemap(javain)    CPPTYPE, const CPPTYPE&      "$javainput"

%enddef


If I set now this

CONSTTYPES( jobjectArray, Double[], std::vector<std::size_t> )

it works fine, Swig generates the correct code call, but if I have something like

CONSTTYPES( jobjectArray, Double[][], ublas::symmetric_matrix<double, ublas::upper> )

Swig generates a Swig type and does not match the ublas::symmetric_matrix<double, ublas::upper> in the code.

How can I use my define with the template call ublas::symmetric_matrix<double, ublas::upper> ?

Thanks

Phil