From 237a6763513dd912361e34f741efddf29c9fe19d Mon Sep 17 00:00:00 2001 From: Nick Chambers Date: Thu, 17 Nov 2022 01:09:28 -0600 Subject: [PATCH] Add another utility for ordinary lists --- include/ordinary.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ordinary.h b/include/ordinary.h index 1d90b23..e04821f 100644 --- a/include/ordinary.h +++ b/include/ordinary.h @@ -27,6 +27,7 @@ void ordinary_list_rem(struct ordinary_list *list, struct ordinary_node *node); struct ordinary_node *ordinary_list_pop(struct ordinary_list *list); struct ordinary_node *ordinary_list_at(struct ordinary_list *list, uint32_t idx); +uint8_t ordinary_list_full(struct ordinary_list *list); struct ordinary_node *ordinary_list_find(struct ordinary_list *list, callback cb); uint8_t ordinary_list_for(struct ordinary_list *list, callback cb);