diff options
Diffstat (limited to 'spec/rtems/basedefs/if/typeof-refx.yml')
-rw-r--r-- | spec/rtems/basedefs/if/typeof-refx.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/rtems/basedefs/if/typeof-refx.yml b/spec/rtems/basedefs/if/typeof-refx.yml index b05a8809..36adaf79 100644 --- a/spec/rtems/basedefs/if/typeof-refx.yml +++ b/spec/rtems/basedefs/if/typeof-refx.yml @@ -1,6 +1,6 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | - Returns the type of a pointer reference of the specified level to the specified type. + Gets the pointer reference type. copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) - Copyright (C) 2014 Paval Pisa @@ -8,7 +8,7 @@ definition: default: '' variants: - definition: | - ${/compiler/if/typeof:/name}(_level(union { int z; ${/compiler/if/typeof:/name}(_target) x; }){0}.x) + ${/compiler/if/typeof:/name}( _level( union { int z; ${/compiler/if/typeof:/name}( _target ) x; } ){ 0 }.x ) enabled-by: - defined(${/compiler/if/gnuc:/name}) description: | @@ -33,6 +33,7 @@ params: dir: null name: _target return: - return: null + return: | + Returns the type of a pointer reference of the specified level to the specified type. return-values: [] type: interface |