Add list (extra) foreach

This commit is contained in:
2022-06-05 18:36:48 +03:00
parent 3598394391
commit 3e681aadd8
2 changed files with 30 additions and 6 deletions
+2
View File
@@ -18,4 +18,6 @@ extern size_t libcdsb_list_count(const vtype_list* s, const void* value, vtype
extern ssize_t libcdsb_list_get(vtype_value* x, vtype_list* s, ssize_t index, _Bool cut);
extern int list_foreach(const vtype_list* x, int (*callback)(void* value, ssize_t index, vtype type));
#endif /* LIBCDSB_EXTRA_LIST_H */