aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/api/odp/std_types.h
blob: 61255a6d1b9cdda686b43fe638bba80615ce934c (plain)
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
38
39
40
/* Copyright (c) 2013, Linaro Limited
 * All rights reserved.
 *
 * SPDX-License-Identifier:     BSD-3-Clause
 */


/**
 * @file
 *
 * Standard C language types and definitions for ODP.
 *
 */

#ifndef ODP_STD_TYPES_H_
#define ODP_STD_TYPES_H_

#ifdef __cplusplus
extern "C" {
#endif



#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <inttypes.h>
#include <limits.h>

/** Use odp boolean type to have it well-defined and known size,
  * regardless which compiler is used as this facilities interoperability
  * between e.g. different compilers.
  */
typedef int odp_bool_t;

#ifdef __cplusplus
}
#endif

#endif