r6.1.1:lfds611_freelist_set_user_data_in_element

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

/liblfds611/src/lfds611_freelist/lfds611_freelist_get_and_set.c
/liblfds611/inc/liblfds611.h

Prototype

void lfds611_freelist_set_user_data_in_element( struct lfds611_freelist_element *fe, void *user_data );

Parameters

struct lfds611_freelist_element *fe

A pointer to a freelist element as obtained by lfds611_freelist_pop or lfds611_freelist_guaranteed_pop.

void *user_data

A void pointer of user data which will be placed into the freelist element.

Return Value

No return value.

Notes

This function sets the user data void pointer in the freelist element.

See Also