summaryrefslogtreecommitdiffhomepage
path: root/examples/stack.c
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2020-09-16 09:59:18 +0200
committerTyge Løvset <[email protected]>2020-09-16 09:59:18 +0200
commit47b5b5ce53ed4607bf557e2b53a1286bc8041e94 (patch)
tree71219fd9554c957b4e120d34096318fc11f8fc80 /examples/stack.c
parentd3d68271e1c4ff0f56d06730f79349197f46850c (diff)
downloadSTC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.tar.gz
STC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.zip
Changed earlier declare_<container>(..) macro to typedef_<container>(..)
Diffstat (limited to 'examples/stack.c')
-rw-r--r--examples/stack.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/stack.c b/examples/stack.c
index ba7de082..c51c420c 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -3,10 +3,10 @@
#include <stc/cstr.h>
#include <stc/cstack.h>
-c_cvec(i, int);
-c_cvec(c, char);
-c_cstack(i, cvec_i);
-c_cstack(c, cvec_c);
+typedef_cvec(i, int);
+typedef_cvec(c, char);
+typedef_cstack(i, cvec_i);
+typedef_cstack(c, cvec_c);
int main() {
cstack_i stack = cstack_i_init();