X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funicase.in.h;h=f51f72cf60796a82ca638bb21d0947cff2126ef4;hb=db61fd22822da6974c2ca4caa2975d74229a4c70;hp=11b35c882dc988c47e36de23f3675f6b56b4536d;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/unicase.in.h b/lib/unicase.in.h index 11b35c882..f51f72cf6 100644 --- a/lib/unicase.in.h +++ b/lib/unicase.in.h @@ -1,5 +1,5 @@ /* Unicode character case mappings. - Copyright (C) 2002, 2009-2012 Free Software Foundation, Inc. + Copyright (C) 2002, 2009-2013 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 +42,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 +66,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: