Function llist_meta_space
Defined in File llist.h
Function Documentation
-
static inline size_t llist_meta_space(size_t max_elts)
Calculate the space needed for the nodes in the llist, given a max # of elements.
Used in conjunction with RCSW_NOALLOC_META.
- Parameters:
max_elts – # of desired elements the linked list will hold.
- Returns:
The # of bytes required.