summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2023-03-24 19:47:04 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2023-03-24 19:47:18 +0000
commit327ba13f4cdbc7d3c1f6bc0124bdd6b27135891c (patch)
treeefeb64b9cd972438c9e8a787437ff8324289be94 /Lib
parente15cf1ac2da8a0c57af862a2a41d2ea772acf925 (diff)
downloadswig-327ba13f4cdbc7d3c1f6bc0124bdd6b27135891c.tar.gz
Use $self instead of self
Diffstat (limited to 'Lib')
-rw-r--r--Lib/csharp/std_map.i4
-rw-r--r--Lib/csharp/std_set.i4
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/csharp/std_map.i b/Lib/csharp/std_map.i
index 93cfb1e59..e7a910f65 100644
--- a/Lib/csharp/std_map.i
+++ b/Lib/csharp/std_map.i
@@ -269,14 +269,14 @@
}
const key_type& get_next_key(std::map< K, T, C >::iterator *swigiterator) {
- (void)self;
+ (void)$self;
std::map< K, T, C >::iterator iter = *swigiterator;
(*swigiterator)++;
return (*iter).first;
}
void destroy_iterator(std::map< K, T, C >::iterator *swigiterator) {
- (void)self;
+ (void)$self;
delete swigiterator;
}
}
diff --git a/Lib/csharp/std_set.i b/Lib/csharp/std_set.i
index ce329e26c..ec8a3dc5e 100644
--- a/Lib/csharp/std_set.i
+++ b/Lib/csharp/std_set.i
@@ -297,14 +297,14 @@ class set {
}
const key_type& get_next(std::set<T>::iterator *swigiterator) {
- (void)self;
+ (void)$self;
std::set<T>::iterator iter = *swigiterator;
(*swigiterator)++;
return *iter;
}
void destroy_iterator(std::set<T>::iterator *swigiterator) {
- (void)self;
+ (void)$self;
delete swigiterator;
}
}