Adding standard types to the ODP driver interface (drv).
Signed-off-by: Christophe Milard <[email protected]>
---
include/odp/drv/spec/std_types.h | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 include/odp/drv/spec/std_types.h
diff --git a/include/odp/drv/spec/std_types.h b/include/odp/drv/spec/std_types.h
new file mode 100644
index 0000000..904a385
--- /dev/null
+++ b/include/odp/drv/spec/std_types.h
@@ -0,0 +1,40 @@
+/* Copyright (c) 2016, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+/**
+ * @file
+ *
+ * Standard C language types and definitions for ODP driver interface.
+ *
+ */
+
+#ifndef ODPDRV_STD_TYPES_H_
+#define ODPDRV_STD_TYPES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** @addtogroup odpdrv_system ODPDRV SYSTEM
+ * @{
+ */
+
+/**
+ * @typedef odpdrv_bool_t
+ * Use odpdrv boolean type to have it well-defined and known size,
+ * regardless which compiler is used as this facilities interoperability
+ * between e.g. different compilers.
+ */
+
+/**
+ * @}
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
--
2.1.4
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp