summaryrefslogtreecommitdiff
path: root/lib/unicase.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicase.h')
-rw-r--r--lib/unicase.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/lib/unicase.h b/lib/unicase.h
index 57d16db..03b35b0 100644
--- a/lib/unicase.h
+++ b/lib/unicase.h
@@ -1,5 +1,6 @@
+/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
/* Unicode character case mappings.
- Copyright (C) 2002, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2009-2015 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published
@@ -42,15 +43,18 @@ extern "C" {
/* Return the uppercase mapping of a Unicode character. */
extern ucs4_t
- uc_toupper (ucs4_t uc);
+ uc_toupper (ucs4_t uc)
+ _UC_ATTRIBUTE_CONST;
/* Return the lowercase mapping of a Unicode character. */
extern ucs4_t
- uc_tolower (ucs4_t uc);
+ uc_tolower (ucs4_t uc)
+ _UC_ATTRIBUTE_CONST;
/* Return the titlecase mapping of a Unicode character. */
extern ucs4_t
- uc_totitle (ucs4_t uc);
+ uc_totitle (ucs4_t uc)
+ _UC_ATTRIBUTE_CONST;
/* ========================================================================= */
@@ -63,7 +67,8 @@ extern ucs4_t
/* Return the ISO 639 language code of the current locale.
Return "" if it is unknown, or in the "C" locale. */
extern const char *
- uc_locale_language (void);
+ uc_locale_language (void)
+ _UC_ATTRIBUTE_PURE;
/* Conventions: