diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-09 14:40:10 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-11-09 14:40:10 +0100 |
commit | e3524c54848d04ccfb0e5e0a5aed76824b04e922 (patch) | |
tree | be4d70a277512fa494d70f88adb3815914041a97 /spec/rtems/basedefs/if/array-size.yml | |
parent | spec: Review Partition Manager API (diff) | |
download | rtems-central-e3524c54848d04ccfb0e5e0a5aed76824b04e922.tar.bz2 |
spec: Review basic definitions API
Diffstat (limited to 'spec/rtems/basedefs/if/array-size.yml')
-rw-r--r-- | spec/rtems/basedefs/if/array-size.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/spec/rtems/basedefs/if/array-size.yml b/spec/rtems/basedefs/if/array-size.yml index f9a1e898..991dfc20 100644 --- a/spec/rtems/basedefs/if/array-size.yml +++ b/spec/rtems/basedefs/if/array-size.yml @@ -1,11 +1,11 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause brief: | - Returns the element count of the specified array. + Gets the element count of the array. copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) definition: default: | - (sizeof(_array) / sizeof((_array)[0])) + ( sizeof( _array ) / sizeof( ( _array )[ 0 ] ) ) variants: [] description: null enabled-by: true @@ -20,10 +20,11 @@ name: RTEMS_ARRAY_SIZE notes: null params: - description: | - is the name of the array. + is the name of the array. This parameter is evaluated twice. dir: null name: _array return: - return: The element count of the specified array. + return: | + Returns the element count of the array. return-values: [] type: interface |