summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/array-size.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/if/array-size.yml')
-rw-r--r--spec/rtems/basedefs/if/array-size.yml9
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