Adjust extern "C" 49/144849/2 accepted/tizen_3.0_common accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170821.093633 accepted/tizen/3.0/mobile/20170820.233434 accepted/tizen/3.0/tv/20170820.233503 accepted/tizen/3.0/wearable/20170820.233447 submit/tizen_3.0/20170818.073343
authorSeungha Son <seungha.son@samsung.com>
Fri, 18 Aug 2017 06:24:32 +0000 (15:24 +0900)
committerSeungha Son <seungha.son@samsung.com>
Fri, 18 Aug 2017 06:56:40 +0000 (15:56 +0900)
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I80a63ada6b0c381f83eee4e619494c2c0569faf1

include/pkgmgrinfo_basic.h

index d0c9509..72ab061 100644 (file)
@@ -3,6 +3,10 @@
 
 #include <glib.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct metadata_x {
        char *key;
        char *value;
@@ -220,4 +224,7 @@ typedef struct package_x manifest_x;
 void pkgmgrinfo_basic_free_application(application_x *application);
 void pkgmgrinfo_basic_free_package(package_x *package);
 
+#ifdef __cplusplus
+}
+#endif
 #endif