blob: 0cc08b551784707c6018dfb9a22a08c2b126fdde [file] [log] [blame]
%module template_ns3
%warnfilter(801) 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>;