Add list (extra) foreach
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user