match and add extern "C" pair brakets for C++ compilation 12/131612/1
authorHyunjee Kim <hj0426.kim@samsung.com>
Tue, 30 May 2017 07:42:21 +0000 (16:42 +0900)
committerHyunjee Kim <hj0426.kim@samsung.com>
Tue, 30 May 2017 07:43:01 +0000 (16:43 +0900)
Change-Id: I0faf3b23cd2141cc751d9f2b0f7addc9ec4d78bd
Signed-off-by: Hyunjee Kim <hj0426.kim@samsung.com>
packaging/capi-base-utils.spec
src/include/utils_i18n_uchar_iter.h
src/include/utils_i18n_ucollator.h

index 1ca3285..d1af6d8 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-base-utils
 Summary:    Base Utils
-Version:    3.0.1
+Version:    3.0.2
 Release:    1
 Group:      Base
 License:    Apache-2.0 and ICU
index 93438cc..65c1eae 100644 (file)
  * @brief utils_i18n_uchar_iterator
  */
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @ingroup CAPI_BASE_UTILS_I18N_MODULE
  * @defgroup CAPI_BASE_UTILS_I18N_UCHAR_ITER_MODULE UChar Iterator
@@ -325,4 +329,8 @@ int i18n_uchar_iter_set_state(i18n_uchar_iter_h iter, uint32_t state);
  * @}
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __UTILS_I18N_UCHAR_ITER_H__ */
index 1923fad..f66f180 100644 (file)
@@ -989,4 +989,8 @@ int i18n_ucollator_create_binary(const uint8_t *bin, int32_t length,
  * @}
  */
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __UTILS_I18N_UCOLLATOR_H__*/