blob: 25274c9ab5800e5f932664fa8dfbea7a69c463a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
%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>;
|