summaryrefslogtreecommitdiffhomepage
path: root/stc/cstack.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-15 23:12:58 +0200
committerTyge Løvset <[email protected]>2020-09-15 23:12:58 +0200
commit0ce57669673a5a22d8207ec884bcebb97cb18448 (patch)
treed76c4b38431efee766d97ba572fa3127a3e05976 /stc/cstack.h
parentf4435af2fc9e9187f7be0149c2eb916db27cb257 (diff)
downloadSTC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.tar.gz
STC-modified-0ce57669673a5a22d8207ec884bcebb97cb18448.zip
Simplified declare_ statement e.g. c_cmap(...)
Diffstat (limited to 'stc/cstack.h')
-rw-r--r--stc/cstack.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stc/cstack.h b/stc/cstack.h
index 65ccc45f..97e7a0e2 100644
--- a/stc/cstack.h
+++ b/stc/cstack.h
@@ -26,8 +26,8 @@
#include <stc/cstack.h>
#include <stdio.h>
- cdef_cvec(i, int);
- cdef_cstack(i, cvec_i);
+ c_cvec(i, int);
+ c_cstack(i, cvec_i);
int main() {
cstack_i stack = cstack_i_init();
@@ -47,7 +47,7 @@
#include "cvec.h"
-#define cdef_cstack(X, ctype) \
+#define c_cstack(X, ctype) \
\
typedef struct ctype cstack_##X; \
typedef ctype##_value_t cstack_##X##_value_t; \