Add missing parameter names in STL container wrappers
Mostly in STL copy constructors. Best to have parameter names as they make their way into the wrappers in some target languages.
This commit is contained in:
parent
8c207dd3a9
commit
6d0c495fd0
49 changed files with 72 additions and 74 deletions
|
|
@ -222,7 +222,7 @@ namespace std {
|
|||
typedef K key_type;
|
||||
typedef T mapped_type;
|
||||
map();
|
||||
map(const map< K, T, C > &);
|
||||
map(const map< K, T, C >& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -442,7 +442,7 @@ namespace std {
|
|||
%rename("has-key?") has_key;
|
||||
public:
|
||||
map();
|
||||
map(const map< K, T, C > &);
|
||||
map(const map< K, T, C >& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -654,7 +654,7 @@ namespace std {
|
|||
%rename("has-key?") has_key;
|
||||
public:
|
||||
map();
|
||||
map(const map< K, T, C > &);
|
||||
map(const map< K, T, C >& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
@ -866,7 +866,7 @@ namespace std {
|
|||
%rename("has-key?") has_key;
|
||||
public:
|
||||
map();
|
||||
map(const map< K, T, C > &);
|
||||
map(const map< K, T, C >& other);
|
||||
|
||||
unsigned int size() const;
|
||||
bool empty() const;
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ namespace std {
|
|||
public:
|
||||
vector(unsigned int size = 0);
|
||||
vector(unsigned int size, const T& value);
|
||||
vector(const vector<T>&);
|
||||
vector(const vector<T>& other);
|
||||
%rename(length) size;
|
||||
unsigned int size() const;
|
||||
%rename("empty?") empty;
|
||||
|
|
@ -367,7 +367,7 @@ namespace std {
|
|||
public:
|
||||
vector(unsigned int size = 0);
|
||||
vector(unsigned int size, const T& value);
|
||||
vector(const vector<T>&);
|
||||
vector(const vector<T>& other);
|
||||
%rename(length) size;
|
||||
unsigned int size() const;
|
||||
%rename("empty?") empty;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue