distortos  v0.6.0
object-oriented C++ RTOS for microcontrollers
IntrusiveList.h
Go to the documentation of this file.
1 
12 #ifndef INCLUDE_ESTD_C_API_INTRUSIVELIST_H_
13 #define INCLUDE_ESTD_C_API_INTRUSIVELIST_H_
14 
16 
17 #ifdef __cplusplus
18 extern "C"
19 {
20 #endif /* def __cplusplus */
21 
22 /*---------------------------------------------------------------------------------------------------------------------+
23 | global types
24 +---------------------------------------------------------------------------------------------------------------------*/
25 
33 {
36 };
37 
38 /*---------------------------------------------------------------------------------------------------------------------+
39 | global defines
40 +---------------------------------------------------------------------------------------------------------------------*/
41 
50 #define ESTD_INTRUSIVELIST_INITIALIZER(self) {ESTD_INTRUSIVELISTNODE_INITIALIZER((self).rootNode)}
51 
52 #ifdef __cplusplus
53 } /* extern "C" */
54 #endif /* def __cplusplus */
55 
56 #endif /* INCLUDE_ESTD_C_API_INTRUSIVELIST_H_ */
C-API equivalent of estd::IntrusiveList.
Definition: IntrusiveList.h:32
C-API equivalent of estd::IntrusiveListNode.
Definition: IntrusiveListNode.h:30
C-API for estd::IntrusiveListNode.
struct estd_IntrusiveListNode rootNode
Definition: IntrusiveList.h:35