Files
cpp-thirdparty/winx64/bin/swig-3.0.12/Examples/test-suite/template_arg_replace.i
Bassem Girgis 81b4b9e273 Initial commit
2018-12-20 17:34:07 -06:00

15 lines
306 B
OpenEdge ABL

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