summaryrefslogtreecommitdiffhomepage
path: root/stc/cstack.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-15 22:43:41 +0200
committerTyge Løvset <[email protected]>2020-09-15 22:43:41 +0200
commitf4435af2fc9e9187f7be0149c2eb916db27cb257 (patch)
tree117429619290d165b7a3001f21f3c0e7f37a1045 /stc/cstack.h
parentf539099575e14aea9f2e043b9af33d05c47399ad (diff)
downloadSTC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.tar.gz
STC-modified-f4435af2fc9e9187f7be0149c2eb916db27cb257.zip
New API Change.
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 8f124930..65ccc45f 100644
--- a/stc/cstack.h
+++ b/stc/cstack.h
@@ -26,8 +26,8 @@
#include <stc/cstack.h>
#include <stdio.h>
- declare_cvec(i, int);
- declare_cstack(i, cvec_i);
+ cdef_cvec(i, int);
+ cdef_cstack(i, cvec_i);
int main() {
cstack_i stack = cstack_i_init();
@@ -47,7 +47,7 @@
#include "cvec.h"
-#define declare_cstack(X, ctype) \
+#define cdef_cstack(X, ctype) \
\
typedef struct ctype cstack_##X; \
typedef ctype##_value_t cstack_##X##_value_t; \