std::vector parameter name changes so that these parameters can be individually singled out with typemaps
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9856 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
aa84817ce0
commit
176984f338
3 changed files with 8 additions and 4 deletions
|
|
@ -37,7 +37,7 @@ namespace std {
|
|||
else
|
||||
throw std::out_of_range("vector index out of range");
|
||||
}
|
||||
void set(int i, const value_type& x) throw (std::out_of_range) {
|
||||
void set(int i, const value_type& val) throw (std::out_of_range) {
|
||||
int size = int(self->size());
|
||||
if (i>=0 && i<size)
|
||||
(*self)[i] = x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue