diff options
Diffstat (limited to 'spec/rtems/basedefs/if/deconst.yml')
-rw-r--r-- | spec/rtems/basedefs/if/deconst.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/if/deconst.yml b/spec/rtems/basedefs/if/deconst.yml new file mode 100644 index 00000000..683ae87a --- /dev/null +++ b/spec/rtems/basedefs/if/deconst.yml @@ -0,0 +1,33 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +brief: | + Performs a type cast which removes const qualifiers without warnings to the + specified type for the specified pointer variable. +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +- Copyright (C) 2014 Paval Pisa +definition: + default: ${dequalify-depthx:/name}(*, _type, _var) + variants: [] +description: null +enabled-by: true +interface-type: macro +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: group +name: RTEMS_DECONST +notes: null +params: +- description: | + is the target type of the cast. + dir: null + name: _type +- description: | + is the pointer variable. + dir: null + name: _var +return: + return: null + return-values: [] +type: interface |