API Reference Manual  1.45.0
api/abi-default/std_types.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (c) 2013-2018 Linaro Limited
3  */
4 
5 #ifndef ODP_ABI_STD_TYPES_H_
6 #define ODP_ABI_STD_TYPES_H_
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
12 /* uint64_t, uint32_t, etc */
13 #include <stdint.h>
14 
15 /* size_t */
16 #include <stddef.h>
17 
18 /* true and false for odp_bool_t */
19 #include <stdbool.h>
20 
25 typedef int odp_bool_t;
26 
31 #ifdef __cplusplus
32 }
33 #endif
34 
35 #endif
int odp_bool_t
Use odp boolean type to have it well-defined and known size, regardless which compiler is used as thi...