summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/packed.yml
blob: 9dde6cb6b36c681fb98c9f8d447829ad1a3df3cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
interface-brief: |
  Instructs the compiler in a type definition to place members of a structure
  or union so that the memory required is minimized.
interface-definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__packed__))
    enabled-by:
    - defined(${/if/compiler/gnuc:/interface-name})
interface-description: null
interface-name: RTEMS_PACKED
interface-notes: null
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: /groups/api/basedefs
type: interface