summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstack.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-10-28 09:42:50 +0200
committerTyge Løvset <[email protected]>2022-10-28 09:42:50 +0200
commit0243b64f830f55b924274cbc63f5dd1ed518c26f (patch)
tree5db964f8eab0483feb4a695eed20adda75612554 /include/stc/cstack.h
parent7f03a0a99daaa3df326f2904091affe55e910156 (diff)
downloadSTC-modified-0243b64f830f55b924274cbc63f5dd1ed518c26f.tar.gz
STC-modified-0243b64f830f55b924274cbc63f5dd1ed518c26f.zip
Renamed semi-internal macro (used for c++ compability) c_make => c_init.
Diffstat (limited to 'include/stc/cstack.h')
-rw-r--r--include/stc/cstack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/cstack.h b/include/stc/cstack.h
index 2f9b2626..2b5528e9 100644
--- a/include/stc/cstack.h
+++ b/include/stc/cstack.h
@@ -170,12 +170,12 @@ STC_INLINE i_keyraw _cx_memb(_value_toraw)(const _cx_value* val)
#endif // !_i_no_clone
STC_INLINE _cx_iter _cx_memb(_begin)(const _cx_self* self) {
- return c_make(_cx_iter){self->_len ? (_cx_value*)self->data : NULL,
+ return c_init(_cx_iter){self->_len ? (_cx_value*)self->data : NULL,
(_cx_value*)self->data + self->_len};
}
STC_INLINE _cx_iter _cx_memb(_end)(const _cx_self* self)
- { return c_make(_cx_iter){NULL, (_cx_value*)self->data + self->_len}; }
+ { return c_init(_cx_iter){NULL, (_cx_value*)self->data + self->_len}; }
STC_INLINE void _cx_memb(_next)(_cx_iter* it)
{ if (++it->ref == it->end) it->ref = NULL; }