summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorMarcelo Matus <mmatus@acms.arizona.edu>2005-11-04 16:47:07 +0000
committerMarcelo Matus <mmatus@acms.arizona.edu>2005-11-04 16:47:07 +0000
commitbf2dac06720be34833a407a85c203d46c95130af (patch)
treef3f61d3d182050aeae14dc8c4a605782543a5bbd /Examples
parent1a4b7561d33b69c4e3c7240b629832fa829d484c (diff)
downloadswig-bf2dac06720be34833a407a85c203d46c95130af.tar.gz
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
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/namespace_class.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/Examples/test-suite/namespace_class.i b/Examples/test-suite/namespace_class.i
index 50a04b9e1..5de58eeee 100644
--- a/Examples/test-suite/namespace_class.i
+++ b/Examples/test-suite/namespace_class.i
@@ -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 %{