KM3NeT CLB
2.0
KM3NeT CLB v2 Embedded Software
|
A list type. More...
Go to the source code of this file.
Data Structures | |
struct | List |
List. More... | |
Macros | |
#define | L_INIT(NAME, ENTRY_SIZE, CAPACITY) |
Convenience Macro, defines and inits list. More... | |
A list type.
Definition in file list.h.
#define L_INIT | ( | NAME, | |
ENTRY_SIZE, | |||
CAPACITY | |||
) |
Convenience Macro, defines and inits list.
Example of how to use it:
Must be used outside of any function scope.
NAME | Name of the list pointer. |
ENTRY_SIZE | Size in bytes of one element (use sizeof()). |
CAPACITY | Maximum number of elements in list. |