summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2021-11-03 23:15:59 +0100
committerTyge Lovset <[email protected]>2021-11-03 23:15:59 +0100
commitd25619e0d6ac9970c23610326285d549c266c7c8 (patch)
tree65130479d28acaea792f5ed01c5aa79ebed42d1d /include
parent85a7ff53750a55fee9a45083abb2f6daa5b19164 (diff)
downloadSTC-modified-d25619e0d6ac9970c23610326285d549c266c7c8.tar.gz
STC-modified-d25619e0d6ac9970c23610326285d549c266c7c8.zip
Renamed cnt_X_getmut() to cnt_X_get_mut().
Diffstat (limited to 'include')
-rw-r--r--include/stc/cdeq.h2
-rw-r--r--include/stc/clist.h2
-rw-r--r--include/stc/cmap.h2
-rw-r--r--include/stc/csmap.h2
-rw-r--r--include/stc/cvec.h2
5 files changed, 5 insertions, 5 deletions
diff --git a/include/stc/cdeq.h b/include/stc/cdeq.h
index 4e35a569..bd7085c7 100644
--- a/include/stc/cdeq.h
+++ b/include/stc/cdeq.h
@@ -183,7 +183,7 @@ _cx_memb(_get)(const _cx_self* self, i_valraw raw) {
}
STC_INLINE _cx_value*
-_cx_memb(_getmut)(_cx_self* self, i_valraw raw)
+_cx_memb(_get_mut)(_cx_self* self, i_valraw raw)
{ return (_cx_value *) _cx_memb(_get)(self, raw); }
STC_INLINE void
diff --git a/include/stc/clist.h b/include/stc/clist.h
index 93e8c249..037d5104 100644
--- a/include/stc/clist.h
+++ b/include/stc/clist.h
@@ -172,7 +172,7 @@ _cx_memb(_get)(const _cx_self* self, i_valraw val) {
}
STC_INLINE _cx_value*
-_cx_memb(_getmut)(_cx_self* self, i_valraw val) {
+_cx_memb(_get_mut)(_cx_self* self, i_valraw val) {
return _cx_memb(_find_in)(_cx_memb(_begin)(self), _cx_memb(_end)(self), val).ref;
}
diff --git a/include/stc/cmap.h b/include/stc/cmap.h
index 100f93f6..1a0f28b4 100644
--- a/include/stc/cmap.h
+++ b/include/stc/cmap.h
@@ -177,7 +177,7 @@ _cx_memb(_get)(const _cx_self* self, i_keyraw rkey) {
}
STC_INLINE _cx_value*
-_cx_memb(_getmut)(const _cx_self* self, i_keyraw rkey)
+_cx_memb(_get_mut)(const _cx_self* self, i_keyraw rkey)
{ return (_cx_value*) _cx_memb(_get)(self, rkey); }
STC_INLINE _cx_iter
diff --git a/include/stc/csmap.h b/include/stc/csmap.h
index a42bd030..34ff22d7 100644
--- a/include/stc/csmap.h
+++ b/include/stc/csmap.h
@@ -116,7 +116,7 @@ STC_INLINE bool _cx_memb(_contains)(const _cx_self* self, i_keyraw rkey)
{ _cx_iter it; return _cx_memb(_find_it)(self, rkey, &it) != NULL; }
STC_INLINE const _cx_value* _cx_memb(_get)(const _cx_self* self, i_keyraw rkey)
{ _cx_iter it; return _cx_memb(_find_it)(self, rkey, &it); }
-STC_INLINE _cx_value* _cx_memb(_getmut)(_cx_self* self, i_keyraw rkey)
+STC_INLINE _cx_value* _cx_memb(_get_mut)(_cx_self* self, i_keyraw rkey)
{ _cx_iter it; return _cx_memb(_find_it)(self, rkey, &it); }
STC_INLINE _cx_self
diff --git a/include/stc/cvec.h b/include/stc/cvec.h
index 8c213e8a..a650d277 100644
--- a/include/stc/cvec.h
+++ b/include/stc/cvec.h
@@ -205,7 +205,7 @@ _cx_memb(_get)(const _cx_self* self, i_valraw raw) {
}
STC_INLINE _cx_value*
-_cx_memb(_getmut)(const _cx_self* self, i_valraw raw)
+_cx_memb(_get_mut)(const _cx_self* self, i_valraw raw)
{ return (_cx_value*) _cx_memb(_get)(self, raw); }
STC_INLINE _cx_iter