swig/Examples/test-suite/template_arg_replace.i
2002-12-20 16:57:06 +00:00

14 lines
265 B
OpenEdge ABL

%module template_arg_replace
%warnfilter(801) Matrix<float, 3, 3>; /* Ruby, wrong class name */
%inline %{
template <typename T, int r, int c> class Matrix {
public:
void Func(const Matrix<T,r,c> &m) { };
};
%}
%template (matrix33f) Matrix<float,3, 3>;