Function icu_chain_create is now private.
authorAdam Dickmeiss <adam@indexdata.dk>
Sun, 1 Mar 2009 22:06:51 +0000 (23:06 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Sun, 1 Mar 2009 22:06:51 +0000 (23:06 +0100)
This function is internal to ICU. It is now declared in icu_I18N.h
rather than icu.h.

include/yaz/icu.h
include/yaz/icu_I18N.h

index 453d9ee..4d62e1e 100644 (file)
@@ -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);
 
index 6591514..7123cff 100644 (file)
@@ -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 */
 
 /*