diff options
| author | Tyge Løvset <[email protected]> | 2020-09-15 22:43:41 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-15 22:43:41 +0200 |
| commit | f4435af2fc9e9187f7be0149c2eb916db27cb257 (patch) | |
| tree | 117429619290d165b7a3001f21f3c0e7f37a1045 /stc/cqueue.h | |
| parent | f539099575e14aea9f2e043b9af33d05c47399ad (diff) | |
| download | STC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.tar.gz STC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.zip | |
New API Change.
Diffstat (limited to 'stc/cqueue.h')
| -rw-r--r-- | stc/cqueue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stc/cqueue.h b/stc/cqueue.h index 8e6d7096..dfdab1cd 100644 --- a/stc/cqueue.h +++ b/stc/cqueue.h @@ -25,8 +25,8 @@ #include <stc/crandom.h>
#include <stc/cqueue.h>
- declare_clist(i, int);
- declare_cqueue(i, clist_i); // min-heap (increasing values)
+ cdef_clist(i, int);
+ cdef_cqueue(i, clist_i); // min-heap (increasing values)
int main() {
int n = 10000000;
@@ -58,7 +58,7 @@ #include "clist.h"
-#define declare_cqueue(X, ctype) \
+#define cdef_cqueue(X, ctype) \
\
typedef struct ctype cqueue_##X; \
typedef ctype##_value_t cqueue_##X##_value_t; \
|
