blob: ed46bb69afec974b6dde20ac2f23780579a4f08a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
links:
- role: interface-function
uid: ../if/container-of
non-functional-type: interface
rationale: null
references: []
requirement-type: non-functional
text: |
When argument ${../if/container-of:/params[0]/name} points to a
member field of a structure or union or C++ class,
and argument ${../if/container-of:/params[1]/name} is the C type of this
structure or union or C++ class,
and argument ${../if/container-of:/params[2]/name} is the name of
this member field,
the ${../if/container-of:/name} macro shall result in a pointer
to the start address of the structure or union or C++ class.
type: requirement
|