From da1f20452c2dc09bf09efec5bb524968c3be8c02 Mon Sep 17 00:00:00 2001 From: Gregory Lirent Date: Sun, 5 Jun 2022 20:01:28 +0300 Subject: [PATCH] Update list (extra) header --- include/extra/list.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/extra/list.h b/include/extra/list.h index d62b3eb..68f1168 100644 --- a/include/extra/list.h +++ b/include/extra/list.h @@ -11,13 +11,13 @@ #define list_pop_by_index(x, s, index) libcdsb_list_get(x, s, index, 1) #define list_remove_by_index(s, index) libcdsb_list_get(0, s, index, 1) -extern ssize_t libcdsb_list_find (vtype_value* x, vtype_list* s, const void* value, vtype type, _Bool reverse, _Bool cut); -extern _Bool libcdsb_list_update(vtype_list* x, ssize_t index, const void* value, vtype type, int ins_direction); +extern ssize_t libcdsb_list_find (vtype_value* x, vtype_list* s, const void* value, vtype type, _Bool reverse, _Bool cut) LIBCDSB_nt__ LIBCDSB_nn2__; +extern _Bool libcdsb_list_update(vtype_list* x, ssize_t index, const void* value, vtype type, int ins_direction) LIBCDSB_nt__ LIBCDSB_nn1__; -extern size_t libcdsb_list_count(const vtype_list* s, const void* value, vtype type); +extern size_t libcdsb_list_count(const vtype_list* s, const void* value, vtype type) LIBCDSB_nt__ LIBCDSB_nn1__; -extern ssize_t libcdsb_list_get(vtype_value* x, vtype_list* s, ssize_t index, _Bool cut); +extern ssize_t libcdsb_list_get(vtype_value* x, vtype_list* s, ssize_t index, _Bool cut) LIBCDSB_nt__ LIBCDSB_nn2__; -extern int list_foreach(const vtype_list* x, int (*callback)(void* value, ssize_t index, vtype type)); +extern int list_foreach(const vtype_list* x, int (*callback)(void* value, ssize_t index, vtype type)) LIBCDSB_nt__ LIBCDSB_nn12__; #endif /* LIBCDSB_EXTRA_LIST_H */