summaryrefslogtreecommitdiffhomepage
path: root/examples/queue.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-17 18:37:34 +0200
committerTyge Løvset <[email protected]>2020-09-17 18:37:34 +0200
commit692ab82818e2d65177e06d7717d9184b7bc27ff1 (patch)
tree0f59d93da6d579a68c7247434cab6e6e615e5b4a /examples/queue.c
parent92edcbf8da88b1e59c7724f2875e9e9df3383cb1 (diff)
downloadSTC-modified-692ab82818e2d65177e06d7717d9184b7bc27ff1.tar.gz
STC-modified-692ab82818e2d65177e06d7717d9184b7bc27ff1.zip
Fixed range methods in cvec, and renamed typename_<container>(..) to using_<container>(..).
Diffstat (limited to 'examples/queue.c')
-rw-r--r--examples/queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/queue.c b/examples/queue.c
index 330e79fe..e1eaf5d4 100644
--- a/examples/queue.c
+++ b/examples/queue.c
@@ -2,8 +2,8 @@
#include <stc/cqueue.h>
#include <stdio.h>
-typedef_clist(i, int);
-typedef_cqueue(i, clist_i); // min-heap (increasing values)
+using_clist(i, int);
+using_cqueue(i, clist_i); // min-heap (increasing values)
int main() {
int n = 10000000;