blob: b8a1e7d2bf3ea010fcdef816f03f21f3f5a8c489 (
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
|
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: |
Returns the value of the specified integral expression and tells the compiler
that the predicted value is true (1).
interface-definition:
default: |
( _exp )
variants:
- definition: |
${/if/compiler/builtin-expect:/interface-name}( ( _exp ), 1 )
enabled-by:
- defined(${/if/compiler/gnuc:/interface-name})
interface-description: null
interface-name: RTEMS_PREDICT_TRUE
interface-notes: null
interface-params:
- description: |
is the expression.
dir: null
name: _exp
interface-return:
return: The value of the expression.
return-values: []
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: /groups/api/basedefs
type: interface
|