r6.1.0:lfds610_freelist_set_user_data_in_element
Jump to navigation
Jump to search
Source Files
/liblfds610/src/lfds610_freelist/lfds610_freelist_get_and_set.c /liblfds610/inc/liblfds610.h
Prototype
void lfds610_freelist_set_user_data_in_element( struct lfds610_freelist_element *fe, void *user_data );
Parameters
struct lfds610_freelist_element *fe
- A pointer to a freelist element as obtained by lfds610_freelist_pop or lfds610_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.