fix arrays_global and add more vector tests
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6146 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
e0ad008aac
commit
5fe3427682
3 changed files with 10 additions and 2 deletions
|
|
@ -73,6 +73,12 @@ struct B : public A {
|
|||
|
||||
int f(const int i) const { return i + val; }
|
||||
};
|
||||
|
||||
|
||||
int vecAptr(const std::vector<A*>& v) {
|
||||
return v[0]->f(1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<short> halfs(const std::vector<short>& v) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue