ESP-IDF
listCONTAINER
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
listCONTAINER
listCONTAINER macro
Given the pointer to the link member (of type Link_t) in a struct, extracts the pointer to the containing struct.
Syntax
Show:
Summary
Declaration
from
aws_doubly_linked_list.h:247
#define
listCONTAINER
(
pxLink
,
type
,
member
)
(
(
type
*
)
(
(
uint8_t
*
)
(
pxLink
)
-
(
uint8_t
*
)
(
&
(
(
type
*
)
0
)
->
member
)
)
)
Arguments
Argument
Description
pxLink
The pointer to the link member.
type
The type of the containing struct.
member
Name of the link member in the containing struct.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out