Difference between revisions of "r7.1.1:Macro LFDS711 HASH A GET VALUE FROM ELEMENT"
Jump to navigation
Jump to search
m (1 revision imported) |
(No difference)
|
Latest revision as of 18:12, 16 February 2017
Source File
└───liblfds711 └───inc └───liblfds711 lfds711_hash_addonly.h
Macro
#define LFDS711_HASH_A_GET_KEY_FROM_ELEMENT( hash_a_element )
Parameters
hash_a_element
- A struct lfds711_hash_a_element. Not a pointer to it - the struct itself.
Return Value
Returns a void pointer, the key from the element.
Example
struct lfds711_hash_a_element haw; void *key; key = LFDS711_HASH_A_GET_KEY_FROM_ELEMENT( haw );
Notes
As with all liblfds macros, the macro operates on the structure itself, not a pointer to it.