summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cvec.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2021-12-22 09:07:40 +0100
committerTyge Løvset <[email protected]>2021-12-22 09:07:40 +0100
commitf69f26927edb7e2850a5a235ed5117f278f437a1 (patch)
tree7ed42e8654c81f3c3a49298b53530c1f9d5400ac /include/stc/cvec.h
parent6e65e30c6e3c2bc271d3885e749ceb0289bbd9cf (diff)
downloadSTC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.tar.gz
STC-modified-f69f26927edb7e2850a5a235ed5117f278f437a1.zip
Renamed '_rawvalue\b' to '_raw'
Diffstat (limited to 'include/stc/cvec.h')
-rw-r--r--include/stc/cvec.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stc/cvec.h b/include/stc/cvec.h
index 92f6afd6..3486cc37 100644
--- a/include/stc/cvec.h
+++ b/include/stc/cvec.h
@@ -76,7 +76,7 @@ struct cvec_rep { size_t size, cap; void* data[]; };
#if !c_option(c_is_fwd)
_cx_deftypes(_c_cvec_types, _cx_self, i_val);
#endif
-typedef i_valraw _cx_rawvalue;
+typedef i_valraw _cx_raw;
STC_API _cx_self _cx_memb(_init)(void);
STC_API void _cx_memb(_drop)(_cx_self* self);
@@ -98,7 +98,7 @@ STC_API _cx_self _cx_memb(_clone)(_cx_self cx);
STC_API _cx_iter _cx_memb(_clone_range_p)(_cx_self* self, _cx_value* pos,
const _cx_value* p1, const _cx_value* p2);
STC_API _cx_iter _cx_memb(_emplace_range_p)(_cx_self* self, _cx_value* pos,
- const _cx_rawvalue* p1, const _cx_rawvalue* p2);
+ const _cx_raw* p1, const _cx_raw* p2);
STC_INLINE i_val _cx_memb(_value_clone)(_cx_value val)
{ return i_valfrom(i_valto(&val)); }
STC_INLINE i_val _cx_memb(_value_fromraw)(i_valraw raw) { return i_valfrom(raw); }
@@ -112,7 +112,7 @@ _cx_memb(_copy)(_cx_self *self, _cx_self other) {
_cx_memb(_drop)(self); *self = _cx_memb(_clone)(other);
}
STC_INLINE _cx_iter
-_cx_memb(_emplace_n)(_cx_self* self, const size_t idx, const _cx_rawvalue arr[], const size_t n) {
+_cx_memb(_emplace_n)(_cx_self* self, const size_t idx, const _cx_raw arr[], const size_t n) {
return _cx_memb(_emplace_range_p)(self, self->data + idx, arr, arr + n);
}
STC_INLINE _cx_iter
@@ -350,7 +350,7 @@ _cx_memb(_clone_range_p)(_cx_self* self, _cx_value* pos,
STC_DEF _cx_iter
_cx_memb(_emplace_range_p)(_cx_self* self, _cx_value* pos,
- const _cx_rawvalue* p1, const _cx_rawvalue* p2) {
+ const _cx_raw* p1, const _cx_raw* p2) {
pos = _cx_memb(_insert_space_)(self, pos, p2 - p1);
_cx_iter it = {pos};
for (; p1 != p2; ++p1) *pos++ = i_valfrom(*p1);