JVM link failure on some systems fixed when using std_vector.i.
Also adds default vector constructor for use from Java. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5915 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b3cd2d3849
commit
17e443899d
1 changed files with 4 additions and 2 deletions
|
|
@ -65,7 +65,8 @@ namespace std {
|
||||||
template<class T> class vector {
|
template<class T> class vector {
|
||||||
// add generic typemaps here
|
// add generic typemaps here
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector();
|
||||||
|
vector(unsigned int);
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
@ -97,7 +98,8 @@ namespace std {
|
||||||
template<> class vector<T> {
|
template<> class vector<T> {
|
||||||
// add specialized typemaps here
|
// add specialized typemaps here
|
||||||
public:
|
public:
|
||||||
vector(unsigned int size = 0);
|
vector();
|
||||||
|
vector(unsigned int);
|
||||||
unsigned int size() const;
|
unsigned int size() const;
|
||||||
%rename(isEmpty) empty;
|
%rename(isEmpty) empty;
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue