From e6a25eaaf4687ff99d0d719d0b32ad512156039e Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Wed, 22 Mar 2023 17:32:21 +0100 Subject: Added c_foreach_r() macro for reverse iter of cvec, cdeq, cstack. Moved c_find_if, c_erase_if, c_eraseremove_if to algo/filter.h Internals. --- include/stc/forward.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stc/forward.h') diff --git a/include/stc/forward.h b/include/stc/forward.h index 00c531fe..31e67e7d 100644 --- a/include/stc/forward.h +++ b/include/stc/forward.h @@ -118,7 +118,7 @@ typedef union { } SELF##_result; \ \ typedef struct { \ - SELF##_value *ref, *end; \ + SELF##_value *ref, *_end; \ uint8_t* _hx; \ } SELF##_iter; \ \ -- cgit v1.2.3