Add std::vector copy constructor to proxy
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11233 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
f3a70a1a03
commit
7841adc675
2 changed files with 9 additions and 1 deletions
|
|
@ -226,6 +226,7 @@
|
|||
%newobject GetRange(int index, int count);
|
||||
%newobject Repeat(const value_type& value, int count);
|
||||
vector();
|
||||
vector(const vector &other);
|
||||
%extend {
|
||||
vector(int capacity) throw (std::out_of_range) {
|
||||
std::vector<CTYPE >* pv = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue