From 681873e4cb6ea076b79c6c70b2df2ba4e4c19bda Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Fri, 18 Sep 2020 11:55:29 +0200 Subject: Changed _ini macro constant to _INIT, and _destroy() to _del. --- stc/cpqueue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stc/cpqueue.h') diff --git a/stc/cpqueue.h b/stc/cpqueue.h index 03fe09d2..4241cc32 100644 --- a/stc/cpqueue.h +++ b/stc/cpqueue.h @@ -41,7 +41,7 @@ printf("%f ", *cpqueue_f_top(queue)); cpqueue_f_pop(&queue); } - cpqueue_f_destroy(&queue); + cpqueue_f_del(&queue); } */ @@ -63,7 +63,7 @@ STC_INLINE bool \ cpqueue_##X##_empty(cpqueue_##X pq) {return ctype##_empty(pq);} \ STC_INLINE void \ - cpqueue_##X##_destroy(cpqueue_##X* self) {ctype##_destroy(self);} \ + cpqueue_##X##_del(cpqueue_##X* self) {ctype##_del(self);} \ STC_API void \ cpqueue_##X##_build(cpqueue_##X* self); \ STC_API void \ -- cgit v1.2.3