source: rtems-central/spec/if/rtems/basedefs/weak-alias.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: 798 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2copyrights:
3- Copyright (C) 2017 embedded brains GmbH (http://www.embedded-brains.de)
4enabled-by: []
5interface-brief: |
6  Instructs the compiler to generate a weak alias to the specified target
7  function.
8interface-definition:
9  default: ""
10  variants:
11  - definition: |
12      __attribute__((__weak__, __alias__(#_target)))
13    enabled-by:
14    - defined(${/if/compiler/gnuc:/interface-name})
15interface-description: null
16interface-name: RTEMS_WEAK_ALIAS
17interface-params:
18- description: |
19    is the target function name.
20  dir: null
21  name: _target
22interface-return:
23  return: null
24  return-values: []
25interface-type: macro
26links:
27- role: interface-placement
28  uid: header
29- role: interface-ingroup
30  uid: /groups/api/basedefs
31type: interface
Note: See TracBrowser for help on using the repository browser.