diff options
| author | Tyge Løvset <[email protected]> | 2022-10-28 09:42:50 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2022-10-28 09:42:50 +0200 |
| commit | 0243b64f830f55b924274cbc63f5dd1ed518c26f (patch) | |
| tree | 5db964f8eab0483feb4a695eed20adda75612554 /include/stc/cstack.h | |
| parent | 7f03a0a99daaa3df326f2904091affe55e910156 (diff) | |
| download | STC-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.h | 4 |
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; } |
