Fix for push_back as suggested by Gualtiero Chiaia
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4715 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a00aa780ce
commit
a63f480109
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ namespace std {
|
|||
bool empty() const;
|
||||
void clear();
|
||||
%rename(add) push_back;
|
||||
void push_back(int x);
|
||||
void push_back(T x);
|
||||
%extend {
|
||||
T get(int i) {
|
||||
int size = int(self->size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue