r6.0.0:lfds600_freelist_push

From liblfds.org
Jump to navigation Jump to search

Source Files

/liblfds600/src/lfds600_freelist/lfds600_freelist_pop_push.c
/liblfds600/inc/liblfds600.h

Prototype

void lfds600_freelist_push( struct lfds600_freelist_state *fs, struct lfds600_freelist_element *fe );

Parameters

struct lfds600_freelist_state *fs

A freelist state as allocated by lfds600_freelist_new.

struct lfds600_freelist_element *fe

A pointer to a freelist element as obtained by lfds600_freelist_pop or lfds600_freelist_guaranteed_pop.

Return Value

No return value.

Notes

Pushes 'fe' on to the top of the freelist.

See Also