diff options
Diffstat (limited to 'spec/if/rtems/basedefs/const.yml')
-rw-r--r-- | spec/if/rtems/basedefs/const.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/spec/if/rtems/basedefs/const.yml b/spec/if/rtems/basedefs/const.yml new file mode 100644 index 00000000..302637d8 --- /dev/null +++ b/spec/if/rtems/basedefs/const.yml @@ -0,0 +1,24 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2019 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: [] +interface-brief: | + Tells the compiler in a function declaration that this function has no effect + except the return value and that the return value depends only on the value + of parameters. +interface-definition: + default: "" + variants: + - definition: | + __attribute__((__const__)) + enabled-by: + - defined(${/if/compiler/gnuc:/interface-name}) +interface-description: null +interface-name: RTEMS_CONST +interface-type: define +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/basedefs +type: interface |