git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
14 lines
286 B
OpenEdge ABL
14 lines
286 B
OpenEdge ABL
%module template_arg_replace
|
|
|
|
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) 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>;
|
|
|