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. --- examples/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/queue.c') diff --git a/examples/queue.c b/examples/queue.c index e1eaf5d4..fc1c2704 100644 --- a/examples/queue.c +++ b/examples/queue.c @@ -16,7 +16,7 @@ int main() { // Push ten million random numbers onto the queue. for (int i=0; i0; --i) { @@ -27,5 +27,5 @@ int main() { --n, cqueue_i_pop(&queue); } printf("%d, %zu\n", n, cqueue_i_size(queue)); - cqueue_i_destroy(&queue); + cqueue_i_del(&queue); } -- cgit v1.2.3