r6:Function:freelist push
Jump to navigation
Jump to search
Source Files
/src/freelist/freelist_pop_push.c /inc/liblfds.h
Prototype
void freelist_push( struct freelist_state *fs, struct freelist_element *fe );
Parameters
struct freelist_state *fs
- A freelist state as allocated by freelist_new.
struct freelist_element *fe
- A pointer to a freelist element as obtained by freelist_pop or freelist_guaranteed_pop.
Return Value
No return value.
Notes
Pushes 'fe' on to the top of the freelist.