summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/packed-2.yml
blob: f5da9145231c7a616a7e560b63907c0c45789f88 (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 & Co. KG
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