From: Adam Dickmeiss Date: Sun, 1 Mar 2009 22:06:51 +0000 (+0100) Subject: Function icu_chain_create is now private. X-Git-Tag: v3.0.45~23 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=dd44ae98149d0a96ca8c601a0c46cd17b1eb6c83;p=yaz-moved-to-github.git Function icu_chain_create is now private. This function is internal to ICU. It is now declared in icu_I18N.h rather than icu.h. --- diff --git a/include/yaz/icu.h b/include/yaz/icu.h index 453d9ee..4d62e1e 100644 --- a/include/yaz/icu.h +++ b/include/yaz/icu.h @@ -43,22 +43,18 @@ YAZ_BEGIN_CDECL typedef struct icu_chain *yaz_icu_chain_t; -YAZ_EXPORT yaz_icu_chain_t icu_chain_create(const char * locale, - int sort, - UErrorCode * status); - YAZ_EXPORT void icu_chain_destroy(yaz_icu_chain_t chain); YAZ_EXPORT yaz_icu_chain_t icu_chain_xml_config(const xmlNode *xml_node, - int sort, - UErrorCode * status); + int sort, + UErrorCode * status); YAZ_EXPORT int icu_chain_assign_cstr(yaz_icu_chain_t chain, - const char * src8cstr, - UErrorCode *status); + const char * src8cstr, + UErrorCode *status); YAZ_EXPORT int icu_chain_next_token(yaz_icu_chain_t chain, - UErrorCode *status); + UErrorCode *status); YAZ_EXPORT int icu_chain_token_number(yaz_icu_chain_t chain); diff --git a/include/yaz/icu_I18N.h b/include/yaz/icu_I18N.h index 6591514..7123cff 100644 --- a/include/yaz/icu_I18N.h +++ b/include/yaz/icu_I18N.h @@ -257,6 +257,11 @@ int icu_chain_token_number(yaz_icu_chain_t chain); const UCollator * icu_chain_get_coll(yaz_icu_chain_t chain); +yaz_icu_chain_t icu_chain_create(const char * locale, + int sort, + UErrorCode * status); + + #endif /* ICU_I18NL_H */ /*