macro LFDS700_LIST_ASU_SET_VALUE_IN_ELEMENT
Jump to navigation
Jump to search
Source File
└───liblfds700 └───inc └───liblfds700 lfds700_list_addonly_singlylinked_unordered.h
Opaque Structures
struct lfds700_list_asu_element;
Macro
#define LFDS700_LIST_ASU_SET_VALUE_IN_ELEMENT( list_asu_element, new_value )
Parameters
list_asu_element
- A struct lfds700_list_asu_element. Not a pointer to it - the struct itself.
new_value
- A void pointer, which the value in list_asu_element is set to.
Return Value
No return value.
Notes
As with all liblfds macros, the macro operates on the structure itself, not a pointer to it.
The value is set atomically, and so can be used at any time, on an element in the list or before it enters the list, unlike setting a key, which can only be done before an element enters the list.