diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-14 08:29:58 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:23 +0200 |
commit | cae542a3541dc5e34d4cf36bc37967e09d0661e2 (patch) | |
tree | 3a26a37619a4248460e80e0bbaa7e7d90eb05440 /spec/if/rtems/status/is-equal.yml | |
parent | spec: Add specification of glossary items (diff) | |
download | rtems-central-cae542a3541dc5e34d4cf36bc37967e09d0661e2.tar.bz2 |
spec: Add more interface specification items
Diffstat (limited to 'spec/if/rtems/status/is-equal.yml')
-rw-r--r-- | spec/if/rtems/status/is-equal.yml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/spec/if/rtems/status/is-equal.yml b/spec/if/rtems/status/is-equal.yml new file mode 100644 index 00000000..a9b43983 --- /dev/null +++ b/spec/if/rtems/status/is-equal.yml @@ -0,0 +1,37 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 1989, 2008 On-Line Applications Research Corporation (OAR) +enabled-by: true +interface-brief: | + Returns true, if the left hand side status code is equal to the right hand + side status code, otherwise returns false. +interface-definition: + default: + body: | + return ${.:/interface-params[0]/name} == ${.:/interface-params[1]/name}; + params: + - ${code:/interface-name} ${.:/interface-params[0]/name} + - ${code:/interface-name} ${.:/interface-params[1]/name} + return: ${/if/c/bool:/interface-name} + variants: [] +interface-description: null +interface-name: rtems_are_statuses_equal +interface-notes: null +interface-params: +- description: is the left hand side status code. + dir: null + name: left_status_code +- description: is the right hand side status code. + dir: null + name: right_status_code +interface-return: + return: null + return-values: [] +interface-type: function +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/classic/status +type: interface |