aboutsummaryrefslogtreecommitdiff
path: root/include/odp/api/abi-default/std_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/odp/api/abi-default/std_types.h')
-rw-r--r--include/odp/api/abi-default/std_types.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/odp/api/abi-default/std_types.h b/include/odp/api/abi-default/std_types.h
new file mode 100644
index 000000000..cb8c4230f
--- /dev/null
+++ b/include/odp/api/abi-default/std_types.h
@@ -0,0 +1,35 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright (c) 2013-2018 Linaro Limited
+ */
+
+#ifndef ODP_ABI_STD_TYPES_H_
+#define ODP_ABI_STD_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* uint64_t, uint32_t, etc */
+#include <stdint.h>
+
+/* size_t */
+#include <stddef.h>
+
+/* true and false for odp_bool_t */
+#include <stdbool.h>
+
+/** @addtogroup odp_std
+ * @{
+ */
+
+typedef int odp_bool_t;
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif