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