- llist_new() =synopsis struct llist *l = llist_new(100, sizeof(foo);
-
Create a new stack structure. Implemented as a linked list of pools.
Parameters:
multip - number of entries in each pool
ssize - size of the objects being pushed/popped
- llist_push() =synopsis llist_push(l, &foo);
-
Push an item on the stack.
- llist_pop()
-
Pop an item off the list, storing it at
datawhich must have enough room for an object of the size supplied to llist_new().returns 0 if the list is empty
- llist_destroy()
-
Destroy a linked-list based stack.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 69:
'=item' outside of any '=over'
=over without closing =back