aboutsummaryrefslogtreecommitdiffstats
path: root/src/hmi-debug.h
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-08-21 14:48:01 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-08-30 14:07:03 +0800
commit534f46b5236e58dd69fd4b4fd019518ffa96778b (patch)
tree52a401208a4a9717e37836752feb08ddb6756aaa /src/hmi-debug.h
parent32985a3558c4143900e7edd03e3d7dc9d39ce4c5 (diff)
To impove homescreen-service's extensibility, Changed homescreen.c to homescreen.cpp, hs-helper.h/hs-helper.c to hs-helper.hpp. Change-Id: I12301f2eec237b0952830c9050c99475cacebb6d Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'src/hmi-debug.h')
-rw-r--r--src/hmi-debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hmi-debug.h b/src/hmi-debug.h
index 2a744ba..3c71ff5 100644
--- a/src/hmi-debug.h
+++ b/src/hmi-debug.h
@@ -17,6 +17,10 @@
#ifndef __HMI_DEBUG_H__
#define __HMI_DEBUG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include <time.h>
#include <stdio.h>
#include <stdarg.h>
@@ -67,4 +71,7 @@ static void _HMI_LOG(enum LOG_LEVEL level, const char* file, const char* func, c
free(message);
}
+#ifdef __cplusplus
+}
+#endif
#endif //__HMI_DEBUG_H__ \ No newline at end of file