diff options
| author | Tyge Løvset <[email protected]> | 2020-09-16 09:59:18 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-16 09:59:18 +0200 |
| commit | 47b5b5ce53ed4607bf557e2b53a1286bc8041e94 (patch) | |
| tree | 71219fd9554c957b4e120d34096318fc11f8fc80 /stc/cstack.h | |
| parent | d3d68271e1c4ff0f56d06730f79349197f46850c (diff) | |
| download | STC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.tar.gz STC-modified-47b5b5ce53ed4607bf557e2b53a1286bc8041e94.zip | |
Changed earlier declare_<container>(..) macro to typedef_<container>(..)
Diffstat (limited to 'stc/cstack.h')
| -rw-r--r-- | stc/cstack.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stc/cstack.h b/stc/cstack.h index 97e7a0e2..f6a5777e 100644 --- a/stc/cstack.h +++ b/stc/cstack.h @@ -26,8 +26,8 @@ #include <stc/cstack.h>
#include <stdio.h>
- c_cvec(i, int);
- c_cstack(i, cvec_i);
+ typedef_cvec(i, int);
+ typedef_cstack(i, cvec_i);
int main() {
cstack_i stack = cstack_i_init();
@@ -47,7 +47,7 @@ #include "cvec.h"
-#define c_cstack(X, ctype) \
+#define typedef_cstack(X, ctype) \
\
typedef struct ctype cstack_##X; \
typedef ctype##_value_t cstack_##X##_value_t; \
|
