fix bug #1347853 and better and/or/not operator management

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7799 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-04 16:47:07 +00:00
commit bf2dac0672
2 changed files with 45 additions and 35 deletions

View file

@ -159,12 +159,22 @@ namespace jafar {
template<class VecFrame, class Vec, class VecRes>
static void toFrame(const VecFrame& frame_, const Vec&v_,const VecRes& vRes){}
template<class T>
void operator ()(T& x){}
template<class T>
void operator < (T& x){}
};
}
}
%}
%template(toFrame) jafar::jmath::EulerT3D::toFrame<int,int,int>;
%template(callint) jafar::jmath::EulerT3D::operator()<int>;
%template(lessint) jafar::jmath::EulerT3D::operator< <int>;
%inline %{