summaryrefslogtreecommitdiffhomepage
path: root/stc/cpqueue.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-18 11:55:29 +0200
committerTyge Løvset <[email protected]>2020-09-18 11:55:29 +0200
commit681873e4cb6ea076b79c6c70b2df2ba4e4c19bda (patch)
tree69c0c3290189163937d4ab4203fe4565094657b0 /stc/cpqueue.h
parent692ab82818e2d65177e06d7717d9184b7bc27ff1 (diff)
downloadSTC-modified-681873e4cb6ea076b79c6c70b2df2ba4e4c19bda.tar.gz
STC-modified-681873e4cb6ea076b79c6c70b2df2ba4e4c19bda.zip
Changed <container>_ini macro constant to <container>_INIT, and <container>_destroy() to <container>_del.
Diffstat (limited to 'stc/cpqueue.h')
-rw-r--r--stc/cpqueue.h4
1 files changed, 2 insertions, 2 deletions
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 \