aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_debug_internal.h
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-10-30 21:47:12 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-11-01 01:03:59 +0300
commita5fed747b3522a7f7313af292944caface4b99fd (patch)
tree3b27a39d6838cec2e3729c374c6359165a56ee42 /platform/linux-generic/include/odp_debug_internal.h
parent3c3d0a97b4e73b4066a31d27264fe086b5068961 (diff)
odp_debug_internal.h: move to include dir from API dir
Signed-off-by: Anders Roxell <anders.roxell@linaro.org> Reviewed-and-tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'platform/linux-generic/include/odp_debug_internal.h')
-rw-r--r--platform/linux-generic/include/odp_debug_internal.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/platform/linux-generic/include/odp_debug_internal.h b/platform/linux-generic/include/odp_debug_internal.h
new file mode 100644
index 000000000..a87552f88
--- /dev/null
+++ b/platform/linux-generic/include/odp_debug_internal.h
@@ -0,0 +1,35 @@
+/* Copyright (c) 2014, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+/**
+ * @file
+ *
+ * ODP Debug internal
+ * This file contains implementer support functions for Debug capabilities.
+ *
+ * @warning These definitions are not part of ODP API, they are for
+ * internal use by implementers and should not be called from any other scope.
+ */
+
+#ifndef ODP_DEBUG_INTERNAL_H_
+#define ODP_DEBUG_INTERNAL_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <odp_debug.h>
+
+/**
+ * This macro is used to indicate when a given function is not implemented
+ */
+#define ODP_UNIMPLEMENTED(fmt, ...) \
+ ODP_LOG(ODP_LOG_UNIMPLEMENTED, fmt, ##__VA_ARGS__)
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif