diff options
| author | Tyge Løvset <[email protected]> | 2021-12-22 09:07:40 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-12-22 09:07:40 +0100 |
| commit | f69f26927edb7e2850a5a235ed5117f278f437a1 (patch) | |
| tree | 7ed42e8654c81f3c3a49298b53530c1f9d5400ac /include/stc/alt | |
| parent | 6e65e30c6e3c2bc271d3885e749ceb0289bbd9cf (diff) | |
| download | STC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.tar.gz STC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.zip | |
Renamed '_rawvalue\b' to '_raw'
Diffstat (limited to 'include/stc/alt')
| -rw-r--r-- | include/stc/alt/clist.h | 6 | ||||
| -rw-r--r-- | include/stc/alt/csmap.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/stc/alt/clist.h b/include/stc/alt/clist.h index 14abc7e4..38b722a4 100644 --- a/include/stc/alt/clist.h +++ b/include/stc/alt/clist.h @@ -64,13 +64,13 @@ STC_API size_t _clist_count(const clist_VOID* self); #define _c_using_clist(_cx_self, i_val, i_cmp, i_valdrop, i_valfrom, i_valto, i_valraw, defTypes) \
\
defTypes( _c_clist_types(_cx_self, i_val); ) \
- typedef i_valraw _cx_rawvalue; \
+ typedef i_valraw _cx_raw; \
\
STC_API _cx_self _cx_memb(_clone)(_cx_self lst); \
STC_API void _cx_memb(_drop)(_cx_self* self); \
STC_API void _cx_memb(_push_back)(_cx_self* self, i_val value); \
STC_API void _cx_memb(_push_front)(_cx_self* self, i_val value); \
- STC_API void _cx_memb(_emplace_items)(_cx_self *self, const _cx_rawvalue arr[], size_t n); \
+ STC_API void _cx_memb(_emplace_items)(_cx_self *self, const _cx_raw arr[], size_t n); \
STC_API _cx_self _cx_memb(_split_after)(_cx_self* self, _cx_iter pos1, _cx_iter pos2); \
STC_API void _cx_memb(_splice_after)(_cx_self* self, _cx_iter pos, _cx_self* other); \
STC_DEF void _cx_memb(_splice_after_range)(_cx_self* self, _cx_iter pos, _cx_self* other, _cx_iter i1, _cx_iter i2); \
@@ -176,7 +176,7 @@ STC_API size_t _clist_count(const clist_VOID* self); } \
\
STC_DEF void \
- _cx_memb(_emplace_items)(_cx_self *self, const _cx_rawvalue arr[], size_t n) { \
+ _cx_memb(_emplace_items)(_cx_self *self, const _cx_raw arr[], size_t n) { \
for (size_t i=0; i<n; ++i) _cx_memb(_push_back)(self, i_valfrom(arr[i])); \
} \
\
diff --git a/include/stc/alt/csmap.h b/include/stc/alt/csmap.h index beccf559..9be41054 100644 --- a/include/stc/alt/csmap.h +++ b/include/stc/alt/csmap.h @@ -74,7 +74,7 @@ int main(void) { typedef _i_SET_ONLY( _cx_rawkey ) \
_i_MAP_ONLY( struct { _cx_rawkey first; \
_cx_memb(_rawmapped) second; } ) \
- _cx_rawvalue; \
+ _cx_raw; \
\
STC_API _cx_self _cx_memb(_init)(void); \
STC_API _cx_value* _cx_memb(_find_it)(const _cx_self* self, i_keyraw rkey, _cx_iter* out); \
@@ -125,7 +125,7 @@ int main(void) { } \
\
STC_INLINE void \
- _cx_memb(_emplace_items)(_cx_self* self, const _cx_rawvalue arr[], size_t n) { \
+ _cx_memb(_emplace_items)(_cx_self* self, const _cx_raw arr[], size_t n) { \
for (size_t i=0; i<n; ++i) _i_SET_ONLY( _cx_memb(_emplace)(self, arr[i]); ) \
_i_MAP_ONLY( _cx_memb(_emplace)(self, arr[i].first, arr[i].second); ) \
} \
|
