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:
William S Fulton 2004-05-18 20:46:13 +00:00
commit 17e443899d

View file

@ -65,7 +65,8 @@ namespace std {
template<class T> class vector {
// add generic typemaps here
public:
vector(unsigned int size = 0);
vector();
vector(unsigned int);
unsigned int size() const;
%rename(isEmpty) empty;
bool empty() const;
@ -97,7 +98,8 @@ namespace std {
template<> class vector<T> {
// add specialized typemaps here
public:
vector(unsigned int size = 0);
vector();
vector(unsigned int);
unsigned int size() const;
%rename(isEmpty) empty;
bool empty() const;