summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/if/array-size.yml
blob: 991dfc2008c79c5ccadd75979175536eb4c75601 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  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 ] ) )
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
name: RTEMS_ARRAY_SIZE
notes: null
params:
- description: |
    is the name of the array.  This parameter is evaluated twice.
  dir: null
  name: _array
return:
  return: |
    Returns the element count of the array.
  return-values: []
type: interface