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/priority.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/priority.c') diff --git a/examples/priority.c b/examples/priority.c index 12e4be25..722d3164 100644 --- a/examples/priority.c +++ b/examples/priority.c @@ -31,5 +31,5 @@ int main() { printf("%zd ", *cpqueue_i_top(&heap)); cpqueue_i_pop(&heap); } - cpqueue_i_destroy(&heap); + cpqueue_i_del(&heap); } -- cgit v1.2.3