diff options
Diffstat (limited to 'spec/if/rtems/basedefs/alloc-size-2.yml')
-rw-r--r-- | spec/if/rtems/basedefs/alloc-size-2.yml | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/spec/if/rtems/basedefs/alloc-size-2.yml b/spec/if/rtems/basedefs/alloc-size-2.yml index e9b8bb62..851a8c8b 100644 --- a/spec/if/rtems/basedefs/alloc-size-2.yml +++ b/spec/if/rtems/basedefs/alloc-size-2.yml @@ -1,21 +1,27 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause -copyrights: -- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) -enabled-by: true -interface-brief: | +brief: | Tells the compiler in a declaration that the memory allocation item count and item size parameter of this function is similar to calloc(). -interface-definition: +copyrights: +- Copyright (C) 2018 embedded brains GmbH (http://www.embedded-brains.de) +definition: default: '' variants: - definition: | __attribute__((__alloc_size__(_count_index, _size_index))) enabled-by: - - defined(${/if/compiler/gnuc:/interface-name}) -interface-description: null -interface-name: RTEMS_ALLOC_SIZE_2 -interface-notes: null -interface-params: + - defined(${/if/compiler/gnuc:/name}) +description: null +enabled-by: true +interface-type: macro +links: +- role: interface-placement + uid: header +- role: interface-ingroup + uid: /groups/api/basedefs +name: RTEMS_ALLOC_SIZE_2 +notes: null +params: - description: | is the allocation item count parameter index (starting with one). dir: null @@ -24,13 +30,7 @@ interface-params: is the allocation item size parameter index (starting with one). dir: null name: _size_index -interface-return: +return: return: null return-values: [] -interface-type: macro -links: -- role: interface-placement - uid: header -- role: interface-ingroup - uid: /groups/api/basedefs type: interface |