Add extern "C" prefix to header file for other users want to use singleo
framework library file.
Change-Id: I5520ef0dc34413efb233794491bc19732ca7365e
Signed-off-by: Inki Dae <inki.dae@samsung.com>
#ifndef __SINGLEO_NATIVE_CAPI_H__
#define __SINGLEO_NATIVE_CAPI_H__
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * @addtogroup SINGLEO_NATIVE_CAPI_MODULE
+ * @{
+ */
+
/**
* @brief The singleo service object handle.
*
*/
int singleo_service_get_result_ptr(singleo_service_h handle, unsigned int idx, const char *key, unsigned char **ptr);
+/**
+ * @}
+ */
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif
#include "singleo_native_capi.h"
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+/**
+ * @addtogroup SINGLEO_NATIVE_CAPI_INTERNAL_MODULE
+ * @{
+ */
+
/**
* @internal
* @brief Registers user-given callback for user to receive result mixed with input data.
*/
int singleo_service_unregister_user_callback(singleo_service_h handle);
+/**
+ * @}
+ */
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif
\ No newline at end of file