summaryrefslogtreecommitdiffhomepage
path: root/include/stc/forward.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc/forward.h')
-rw-r--r--include/stc/forward.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/forward.h b/include/stc/forward.h
index 264d6939..167d1539 100644
--- a/include/stc/forward.h
+++ b/include/stc/forward.h
@@ -189,7 +189,7 @@ typedef union {
typedef struct { SELF##_value *ref, *end; } SELF##_iter; \
typedef struct SELF { \
SELF##_value* data; \
- size_t size, capacity; \
+ size_t _len, _cap; \
} SELF
#define _c_cstack_fixed(SELF, VAL, CAP) \
@@ -197,14 +197,14 @@ typedef union {
typedef struct { SELF##_value *ref, *end; } SELF##_iter; \
typedef struct SELF { \
SELF##_value data[CAP]; \
- size_t size; \
+ size_t _len; \
} SELF
#define _c_cpque_types(SELF, VAL) \
typedef VAL SELF##_value; \
typedef struct SELF { \
SELF##_value* data; \
- size_t size, capacity; \
+ size_t _len, _cap; \
} SELF
#define _c_cvec_types(SELF, VAL) \