summaryrefslogtreecommitdiffstats
path: root/spec/if/rtems/basedefs/array-size.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-25 09:52:00 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commit8821c7d4313148585caaf6f93e85346537746587 (patch)
tree6eedae16d1e957de7a3628d78c4e053d92ea1ec7 /spec/if/rtems/basedefs/array-size.yml
parentspec: Add specification of interface group items (diff)
downloadrtems-central-8821c7d4313148585caaf6f93e85346537746587.tar.bz2
Rename interface attributes
Diffstat (limited to 'spec/if/rtems/basedefs/array-size.yml')
-rw-r--r--spec/if/rtems/basedefs/array-size.yml30
1 files changed, 15 insertions, 15 deletions
diff --git a/spec/if/rtems/basedefs/array-size.yml b/spec/if/rtems/basedefs/array-size.yml
index a8de4678..5dea464a 100644
--- a/spec/if/rtems/basedefs/array-size.yml
+++ b/spec/if/rtems/basedefs/array-size.yml
@@ -1,28 +1,28 @@
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+brief: |
+ Returns the element count of the specified array.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
-enabled-by: true
-interface-brief: |
- Returns the element count of the specified array.
-interface-definition:
+definition:
default: |
(sizeof(_array) / sizeof((_array)[0]))
variants: []
-interface-description: null
-interface-name: RTEMS_ARRAY_SIZE
-interface-notes: null
-interface-params:
-- description: |
- is the name of the array.
- dir: null
- name: _array
-interface-return:
- return: The element count of the specified array.
- return-values: []
+description: null
+enabled-by: true
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: /groups/api/basedefs
+name: RTEMS_ARRAY_SIZE
+notes: null
+params:
+- description: |
+ is the name of the array.
+ dir: null
+ name: _array
+return:
+ return: The element count of the specified array.
+ return-values: []
type: interface