summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstack.h
diff options
context:
space:
mode:
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 da38f508..a0c6e042 100644
--- a/include/stc/cstack.h
+++ b/include/stc/cstack.h
@@ -52,10 +52,10 @@ STC_INLINE _cx_self _cx_memb(_init)(void) {
}
#ifdef i_capacity
-STC_INLINE void _cx_memb(_inits)(_cx_self* self)
+STC_INLINE void _cx_memb(_create)(_cx_self* self)
{ self->_len = 0; }
#else
-STC_INLINE void _cx_memb(_inits)(_cx_self* self)
+STC_INLINE void _cx_memb(_create)(_cx_self* self)
{ self->_len = 0; self->_cap = 0; self->data = NULL; }
STC_INLINE _cx_self _cx_memb(_with_capacity)(size_t cap) {