summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cstack.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-21 13:42:05 +0200
committerTyge Løvset <[email protected]>2022-06-21 13:47:45 +0200
commit161622453ad44a29dc52f496c2d721d41255e45f (patch)
tree816bda8a79aae5ee404e76751830fb292eb0328a /include/stc/cstack.h
parentc7e46d06e90483db30bcccce0a0f1d709661c5fc (diff)
downloadSTC-modified-161622453ad44a29dc52f496c2d721d41255e45f.tar.gz
STC-modified-161622453ad44a29dc52f496c2d721d41255e45f.zip
Renamed expand_uninit() functions to insert_uninit() / append_uninit().
Diffstat (limited to 'include/stc/cstack.h')
-rw-r--r--include/stc/cstack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cstack.h b/include/stc/cstack.h
index 52137d33..b9cff196 100644
--- a/include/stc/cstack.h
+++ b/include/stc/cstack.h
@@ -78,7 +78,7 @@ STC_INLINE bool _cx_memb(_reserve)(_cx_self* self, size_t n) {
}
STC_INLINE _cx_value*
-_cx_memb(_expand_uninit)(_cx_self *self, size_t n) {
+_cx_memb(_append_uninit)(_cx_self *self, size_t n) {
size_t len = self->size;
if (!_cx_memb(_reserve)(self, len + n)) return NULL;
self->size += n;