summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/packed-2.yml
blob: 89e60784743575708d18db190be7208a4d95283f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/packed
rationale: null
references: []
requirement-type: functional
text: |
  When the code is compiled with the GNU C compiler,
  and the ${../if/packed:/name} macro is attached to a
  enum type definition,
  the ${../if/packed:/name} macro shall cause the use of the smallest integral
  type to represent the values of the enum.
type: requirement