diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-12 22:04:58 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-13 22:45:47 +0000 |
commit | 6d0c495fd042a313e0a8d6a9d36209b92b9bf42b (patch) | |
tree | 6863db5822ec6940c0dfc3064c6b2a3aa54185da /Lib/mzscheme | |
parent | 8c207dd3a9eae0435f219b4e70f02a503cd66b49 (diff) | |
download | swig-6d0c495fd042a313e0a8d6a9d36209b92b9bf42b.tar.gz |
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.
Diffstat (limited to 'Lib/mzscheme')
-rw-r--r-- | Lib/mzscheme/std_map.i | 8 | ||||
-rw-r--r-- | Lib/mzscheme/std_vector.i | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Lib/mzscheme/std_map.i b/Lib/mzscheme/std_map.i index 6a0cb2d36..68c7f7fb1 100644 --- a/Lib/mzscheme/std_map.i +++ b/Lib/mzscheme/std_map.i @@ -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; diff --git a/Lib/mzscheme/std_vector.i b/Lib/mzscheme/std_vector.i index 22e1fa96b..9fa2d5497 100644 --- a/Lib/mzscheme/std_vector.i +++ b/Lib/mzscheme/std_vector.i @@ -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; |