more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5816 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
0c8f4b34bf
commit
9bf8d63e04
3 changed files with 58 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
{
|
||||
return c;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -162,5 +162,19 @@ template <class C> struct Param
|
|||
return a;
|
||||
}
|
||||
|
||||
struct Foo
|
||||
{
|
||||
Foo(int i) {
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
||||
%std_nodefconst_type(Foo);
|
||||
|
||||
%template(vector_Foo) std::vector<Foo>;
|
||||
%template(deque_Foo) std::deque<Foo>;
|
||||
%template(list_Foo) std::list<Foo>;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue