Fix ~15 tests, minor doc fixes, improve STL support.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10298 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Xavier Delacour 2008-03-05 04:35:34 +00:00
commit 4d283f59c3
32 changed files with 744 additions and 522 deletions

View file

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