summaryrefslogtreecommitdiffstats
path: root/spec/rtems/config/if/resource-maximum-per-allocation.yml
blob: 8613c126f1bbc6f446eecc1bc920754c532a5860 (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
31
32
33
34
35
36
37
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
  Gets the maximum number per allocation of a resource number.
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
definition:
  default:
    attributes: null
    body: |
      ${/score/object/if/maximum-per-allocation:/name}( ${.:/params[0]/name} )
    params: []
    return: ${/c/if/uint32_t:/name}
  variants: []
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
  uid: header
- role: interface-ingroup
  uid: group
- role: constraint
  uid: /constraint/directive-not-pre-qualified
name: rtems_resource_maximum_per_allocation
notes: |
  This function is implemented as a macro and can be used to define compile
  time constants.
params:
- description: is the resource number.
  dir: null
  name: _resource
return:
  return: |
    Returns the maximum number per allocation of a resource number.
  return-values: []
type: interface