summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/alloc-align.yml
blob: 1018b81ef46e66ea58d4a54a9b5ed02242db8990 (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
25
26
27
28
29
30
31
32
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Tells the compiler in a declaration that the memory allocation alignment
  parameter of this function is similar to aligned_alloc().
copyrights:
- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__alloc_align__(_index)))
    enabled-by:
    - defined(${/if/compiler/gnuc:/name})
description: null
enabled-by: true
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_ALLOC_ALIGN
notes: null
params:
- description: |
    is the allocation alignment parameter index (starting with one).
  dir: null
  name: _index
return:
  return: null
  return-values: []
type: interface