9 #ifndef _SQUAREBALL_SLIST_H 10 #define _SQUAREBALL_SLIST_H 22 typedef struct _sb_slist_t {
void sb_slist_free(sb_slist_t *l)
void sb_slist_free_full(sb_slist_t *l, sb_free_func_t free_func)
sb_slist_t * sb_slist_prepend(sb_slist_t *l, void *data)
size_t sb_slist_length(sb_slist_t *l)
struct _sb_slist_t * next
Definition: sb-slist.h:25
void(* sb_free_func_t)(void *ptr)
Definition: sb-mem.h:29
Definition: sb-slist.h:22
void * data
Definition: sb-slist.h:28
Memory allocation related helpers.
sb_slist_t * sb_slist_append(sb_slist_t *l, void *data)