diff options
author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-18 19:51:03 +0200 |
---|---|---|
committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-03-18 19:51:03 +0200 |
commit | e43583a9912deb9caaa415a5f0dfef19735a4f99 (patch) | |
tree | 0e397dcaef4c9eacc1c55e05f09512ca00207141 /include | |
parent | 6eda0e01bb4002be0c2632e0f2342fe449ca21bf (diff) | |
download | conts-e43583a9912deb9caaa415a5f0dfef19735a4f99.tar.gz conts-e43583a9912deb9caaa415a5f0dfef19735a4f99.zip |
remove duplicate vector foreach
Diffstat (limited to 'include')
-rw-r--r-- | include/conts/vec.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/conts/vec.h b/include/conts/vec.h index 6e50854..8da77cf 100644 --- a/include/conts/vec.h +++ b/include/conts/vec.h @@ -22,14 +22,6 @@ struct VEC_STRUCT { VEC_TYPE *buf; }; -#ifndef CONTS_VEC_H -#define CONTS_VEC_H - -#define foreach_vec(iter, v) \ - for (size_t iter = 0; iter < (v)->n; ++iter) - -#endif /* CONTS_VEC_H */ - static inline struct VEC_STRUCT VEC(create)(size_t reserve) { return (struct VEC_STRUCT) { |