Avoid name mangling 30/255430/2
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 18 Mar 2021 07:29:23 +0000 (16:29 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Thu, 18 Mar 2021 07:31:05 +0000 (16:31 +0900)
Change-Id: I59f3df69945d3bc9f12bd9f24bc667ef9e554baa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/appcore_base_control.h

index ffc6832..ab149d0 100644 (file)
 
 #pragma once
 
+#include <appcore_base.h>
 #include <bundle.h>
 
-#include "appcore_base.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 typedef void *appcore_base_control_h;
 
@@ -35,3 +38,7 @@ int appcore_base_control_add(const char *id,
                appcore_base_control_h *h);
 
 int appcore_base_control_remove(appcore_base_control_h h);
+
+#ifdef __cplusplus
+}
+#endif