summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/deconst-0.yml
blob: e26cc62040c5aa576b81611ac6ddbc94a8908a2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
functional-type: function
links:
- role: interface-function
  uid: ../if/deconst
rationale: null
references: []
requirement-type: functional
text: |
  When ${../if/deconst:/params[0]/name} is a non-const pointer type,
  and ${../if/deconst:/params[1]/name} is a pointer to a value of const type,
  and the types of ${../if/deconst:/params[0]/name} and
  ${../if/deconst:/params[1]/name} are compatible in the sense of C,
  the macro ${../if/deconst:/name} shall result in an expression
  which returns a pointer of type ${../if/deconst:/params[0]/name} pointing
  to the same address as ${../if/deconst:/params[1]/name}.
type: requirement