projects
/
platform
/
core
/
appfw
/
launchpad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6db589e
)
Fix build break issue
46/292546/1
author
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 10 May 2023 00:48:39 +0000
(
00:48
+0000)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Wed, 10 May 2023 00:48:39 +0000
(
00:48
+0000)
To use the CAPI in the C++ code, the function should be defined with
external linkage.
Change-Id: I9cd0bd140e67b56dc130f6819821bb477f0fed71
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/common/inc/launchpad_plugin.h
patch
|
blob
|
history
diff --git
a/src/lib/common/inc/launchpad_plugin.h
b/src/lib/common/inc/launchpad_plugin.h
index f2cf987fa29c03d4327786f06b9859ee89fab506..d8b712392d1f78a73b20b8c4b2cff29f4d4f7d2b 100644
(file)
--- a/
src/lib/common/inc/launchpad_plugin.h
+++ b/
src/lib/common/inc/launchpad_plugin.h
@@
-19,6
+19,14
@@
#include <bundle.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int _launchpad_plugin_prepare_app(const char *app_id, bundle *kb);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __LAUNCHPAD_PLUGIN_H__ */