update swig on windows
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
%module template_construct
|
||||
|
||||
// Tests templates to make sure an extra <> in a constructor is ok.
|
||||
|
||||
%inline %{
|
||||
template<class T>
|
||||
class Foo {
|
||||
T y;
|
||||
public:
|
||||
Foo<T>(T x) : y(x) { }
|
||||
};
|
||||
|
||||
%}
|
||||
|
||||
%template(Foo_int) Foo<int>;
|
||||
Reference in New Issue
Block a user