blob: 448365cb16152a8d5232bca893558ba827b09457 (
plain) (
tree)
|
|
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
brief: |
Evaluates the integral expression and tells the compiler that the predicted
value is true (1).
copyrights:
- Copyright (C) 2018 embedded brains GmbH & Co. KG
definition:
default:
attributes: null
body: |
( ${.:/params[0]/name} )
params: []
return: null
variants:
- definition:
attributes: null
body: |
${/compiler/if/builtin-expect:/name}( ( ${.:/params[0]/name} ), 1 )
params: []
return: null
enabled-by:
- defined(${/compiler/if/gnuc:/name})
description: null
enabled-by: true
index-entries: []
interface-type: macro
links:
- role: interface-placement
uid: header
- role: interface-ingroup
uid: group
name: RTEMS_PREDICT_TRUE
notes: null
params:
- description: |
is the integral expression.
dir: null
name: _exp
return:
return: |
Returns the value of the integral expression and tells the compiler that
the predicted value is true (1).
return-values: []
type: interface
|