r6.0.1:lfds601_freelist_push

From liblfds.org
Revision as of 14:07, 4 January 2015 by Admin (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Source Files

/liblfds601/src/lfds601_freelist/lfds601_freelist_pop_push.c
/liblfds601/inc/liblfds601.h

Prototype

void lfds601_freelist_push( struct lfds601_freelist_state *fs, struct lfds601_freelist_element *fe );

Parameters

struct lfds601_freelist_state *fs

A freelist state as allocated by lfds601_freelist_new.

struct lfds601_freelist_element *fe

A pointer to a freelist element as obtained by lfds601_freelist_pop or lfds601_freelist_guaranteed_pop.

Return Value

No return value.

Notes

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

See Also