diff options
| author | Tyge Løvset <[email protected]> | 2020-09-15 23:12:58 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-15 23:12:58 +0200 |
| commit | 0ce57669673a5a22d8207ec884bcebb97cb18448 (patch) | |
| tree | d76c4b38431efee766d97ba572fa3127a3e05976 /stc/cqueue.h | |
| parent | f4435af2fc9e9187f7be0149c2eb916db27cb257 (diff) | |
| download | STC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.tar.gz STC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.zip | |
Simplified declare_ statement e.g. c_cmap(...)
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 dfdab1cd..c4e095d8 100644 --- a/stc/cqueue.h +++ b/stc/cqueue.h @@ -25,8 +25,8 @@ #include <stc/crandom.h>
#include <stc/cqueue.h>
- cdef_clist(i, int);
- cdef_cqueue(i, clist_i); // min-heap (increasing values)
+ c_clist(i, int);
+ c_cqueue(i, clist_i); // min-heap (increasing values)
int main() {
int n = 10000000;
@@ -58,7 +58,7 @@ #include "clist.h"
-#define cdef_cqueue(X, ctype) \
+#define c_cqueue(X, ctype) \
\
typedef struct ctype cqueue_##X; \
typedef ctype##_value_t cqueue_##X##_value_t; \
|
