diff options
| author | Tyge Løvset <[email protected]> | 2020-09-17 18:37:34 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-17 18:37:34 +0200 |
| commit | 692ab82818e2d65177e06d7717d9184b7bc27ff1 (patch) | |
| tree | 0f59d93da6d579a68c7247434cab6e6e615e5b4a /examples/stack.c | |
| parent | 92edcbf8da88b1e59c7724f2875e9e9df3383cb1 (diff) | |
| download | STC-modified-692ab82818e2d65177e06d7717d9184b7bc27ff1.tar.gz STC-modified-692ab82818e2d65177e06d7717d9184b7bc27ff1.zip | |
Fixed range methods in cvec, and renamed typename_<container>(..) to using_<container>(..).
Diffstat (limited to 'examples/stack.c')
| -rw-r--r-- | examples/stack.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/stack.c b/examples/stack.c index c51c420c..e514808d 100644 --- a/examples/stack.c +++ b/examples/stack.c @@ -3,10 +3,10 @@ #include <stc/cstr.h>
#include <stc/cstack.h>
-typedef_cvec(i, int);
-typedef_cvec(c, char);
-typedef_cstack(i, cvec_i);
-typedef_cstack(c, cvec_c);
+using_cvec(i, int);
+using_cvec(c, char);
+using_cstack(i, cvec_i);
+using_cstack(c, cvec_c);
int main() {
cstack_i stack = cstack_i_init();
|
