diff options
| author | Tyge Løvset <[email protected]> | 2020-09-16 09:59:18 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-16 09:59:18 +0200 |
| commit | 47b5b5ce53ed4607bf557e2b53a1286bc8041e94 (patch) | |
| tree | 71219fd9554c957b4e120d34096318fc11f8fc80 /stc/cqueue.h | |
| parent | d3d68271e1c4ff0f56d06730f79349197f46850c (diff) | |
| download | STC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.tar.gz STC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.zip | |
Changed earlier declare_<container>(..) macro to typedef_<container>(..)
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 c4e095d8..3962f3d8 100644 --- a/stc/cqueue.h +++ b/stc/cqueue.h @@ -25,8 +25,8 @@ #include <stc/crandom.h>
#include <stc/cqueue.h>
- c_clist(i, int);
- c_cqueue(i, clist_i); // min-heap (increasing values)
+ typedef_clist(i, int);
+ typedef_cqueue(i, clist_i); // min-heap (increasing values)
int main() {
int n = 10000000;
@@ -58,7 +58,7 @@ #include "clist.h"
-#define c_cqueue(X, ctype) \
+#define typedef_cqueue(X, ctype) \
\
typedef struct ctype cqueue_##X; \
typedef ctype##_value_t cqueue_##X##_value_t; \
|
