PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/template_arg_replace.i

#
Swig | 14 lines | 9 code | 5 blank | 0 comment | 0 complexity | 06d4ec569922438a0eb24f641ec2a145 MD5 | raw file
 1%module template_arg_replace
 2
 3%warnfilter(SWIGWARN_RUBY_WRONG_NAME) test_Matrix<float, 3, 3>;	/* Ruby, wrong class name */
 4
 5%inline %{
 6
 7template <typename T, int r, int c> class test_Matrix { 
 8public: 
 9 void Func(const test_Matrix<T,r,c> &m) { }; 
10}; 
11%} 
12
13%template (matrix33f) test_Matrix<float,3, 3>; 
14