source: rtems-central/spec/if/rtems/basedefs/pure.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: 731 bytes
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2copyrights:
3- Copyright (C) 2011 On-Line Applications Research Corporation (OAR)
4enabled-by: []
5interface-brief: |
6  Tells the compiler in a function declaration that this function has no effect
7  except the return value and that the return value depends only on the value
8  of parameters and/or global variables.
9interface-definition:
10  default: ""
11  variants:
12  - definition: |
13      __attribute__((__pure__))
14    enabled-by:
15    - defined(${/if/compiler/gnuc:/interface-name})
16interface-description: null
17interface-name: RTEMS_PURE
18interface-type: define
19links:
20- role: interface-placement
21  uid: header
22- role: interface-ingroup
23  uid: /groups/api/basedefs
24type: interface
Note: See TracBrowser for help on using the repository browser.