2009-06-29 Bruno Haible <bruno@clisp.org>
+ Define u16_totitle as a wrapper around u16_ct_totitle.
+ * lib/unicase/u16-totitle.c: Update.
+ * modules/unicase/u16-totitle (Depends-on): Add unicase/u16-ct-totitle,
+ unicase/empty-prefix-context, unicase/empty-suffix-context. Clean up.
+
Define u8_totitle as a wrapper around u8_ct_totitle.
* lib/unicase/u-totitle.h (is_cased, is_case_ignorable): Remove
functions.
/* Specification. */
#include "unicase.h"
-#include <errno.h>
-#include <stdbool.h>
-#include <stddef.h>
-#include <stdlib.h>
-
-#include "unistr.h"
-#include "unictype.h"
-#include "uniwbrk.h"
-#include "uninorm.h"
-#include "special-casing.h"
-
#define FUNC u16_totitle
#define UNIT uint16_t
-#define U_WORDBREAKS u16_wordbreaks
-#define U_MBTOUC_UNSAFE u16_mbtouc_unsafe
-#define U_UCTOMB u16_uctomb
-#define U_CPY u16_cpy
-#define U_NORMALIZE u16_normalize
+#define U_CT_TOTITLE u16_ct_totitle
#include "u-totitle.h"
Depends-on:
unicase/base
-unicase/special-casing
-unicase/totitle
-unicase/tolower
-uniwbrk/wordbreak-property
-uniwbrk/u16-wordbreaks
-unictype/category-of
-unictype/category-test
-unictype/category-Lt
-unictype/combining-class
-unictype/property-lowercase
-unictype/property-uppercase
-unictype/property-soft-dotted
-unistr/u16-mbtouc-unsafe
-unistr/u16-uctomb
-unistr/u16-cpy
-uninorm/u16-normalize
-stdbool
+unicase/u16-ct-totitle
+unicase/empty-prefix-context
+unicase/empty-suffix-context
configure.ac: