source: rtems-central/spec/if/rtems/basedefs/weak.yml @ 31a305f

Last change on this file since 31a305f was 31a305f, checked in by Sebastian Huber <sebastian.huber@…>, on 05/06/20 at 10:44:23

spec: Add some interface items

  • Property mode set to 100644
File size: 708 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2copyrights:
3- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
4enabled-by: []
5interface-brief: |
6  Tells the compiler in a function definition that this function should be
7  weak.
8interface-definition:
9  default: ""
10  variants:
11  - definition: |
12      __attribute__((__weak__))
13    enabled-by:
14    - defined(${/if/compiler/gnuc:/interface-name})
15interface-description: |
16  Use this attribute for function definitions.  Do not use it for function
17  declarations.
18interface-name: RTEMS_WEAK
19interface-type: define
20links:
21- role: interface-placement
22  uid: header
23- role: interface-ingroup
24  uid: /groups/api/basedefs
25type: interface
Note: See TracBrowser for help on using the repository browser.