summaryrefslogtreecommitdiff
path: root/spec/if/rtems/basedefs/weak.yml
blob: 6b9cd64f8075b756e97a8f3fda66ec646e787efe (plain)
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
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: |
  Tells the compiler in a function definition that this function should be
  weak.
interface-definition:
  default: ''
  variants:
  - definition: |
      __attribute__((__weak__))
    enabled-by:
    - defined(${/if/compiler/gnuc:/interface-name})
interface-description: |
  Use this attribute for function definitions.  Do not use it for function
  declarations.
interface-name: RTEMS_WEAK
interface-type: define
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: /groups/api/basedefs
type: interface