swig/SWIG/Examples/test-suite/template_ns3.i
Marcelo Matus 3634df5e12 add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2006-01-06 11:42:24 +00:00

21 lines
301 B
OpenEdge ABL

%module template_ns3
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) foo::bar<int>; /* Ruby, wrong class name */
%inline %{
namespace foo {
typedef int Integer;
template<class T> class bar {
public:
Integer test(Integer x) { return x; }
};
}
%}
%template(bari) foo::bar<int>;