git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4167 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Dave Beazley 2002-12-10 15:41:54 +00:00
commit 18c3b8ee11
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,13 @@
%module template_arg_replace
%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>;