unicase.h | unicase.h | |||
---|---|---|---|---|
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */ | ||||
/* Unicode character case mappings. | /* Unicode character case mappings. | |||
Copyright (C) 2002, 2009, 2010 Free Software Foundation, Inc. | Copyright (C) 2002, 2009-2014 Free Software Foundation, Inc. | |||
This program is free software: you can redistribute it and/or modify it | 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 | under the terms of the GNU Lesser General Public License as published | |||
by the Free Software Foundation; either version 3 of the License, or | by the Free Software Foundation; either version 3 of the License, or | |||
(at your option) any later version. | (at your option) any later version. | |||
This program is distributed in the hope that it will be useful, | This program is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 45 | skipping to change at line 46 | |||
/* ======================================================================== = */ | /* ======================================================================== = */ | |||
/* Character case mappings. | /* Character case mappings. | |||
These mappings are locale and context independent. | These mappings are locale and context independent. | |||
WARNING! These functions are not sufficient for languages such as German . | WARNING! These functions are not sufficient for languages such as German . | |||
Better use the functions below that treat an entire string at once and a re | Better use the functions below that treat an entire string at once and a re | |||
language aware. */ | language aware. */ | |||
/* Return the uppercase mapping of a Unicode character. */ | /* Return the uppercase mapping of a Unicode character. */ | |||
extern ucs4_t | extern ucs4_t | |||
uc_toupper (ucs4_t uc); | uc_toupper (ucs4_t uc) | |||
_UC_ATTRIBUTE_CONST; | ||||
/* Return the lowercase mapping of a Unicode character. */ | /* Return the lowercase mapping of a Unicode character. */ | |||
extern ucs4_t | extern ucs4_t | |||
uc_tolower (ucs4_t uc); | uc_tolower (ucs4_t uc) | |||
_UC_ATTRIBUTE_CONST; | ||||
/* Return the titlecase mapping of a Unicode character. */ | /* Return the titlecase mapping of a Unicode character. */ | |||
extern ucs4_t | extern ucs4_t | |||
uc_totitle (ucs4_t uc); | uc_totitle (ucs4_t uc) | |||
_UC_ATTRIBUTE_CONST; | ||||
/* ======================================================================== = */ | /* ======================================================================== = */ | |||
/* String case mappings. */ | /* String case mappings. */ | |||
/* These functions are locale dependent. The iso639_language argument | /* These functions are locale dependent. The iso639_language argument | |||
identifies the language (e.g. "tr" for Turkish). NULL means to use | identifies the language (e.g. "tr" for Turkish). NULL means to use | |||
locale independent case mappings. */ | locale independent case mappings. */ | |||
/* Return the ISO 639 language code of the current locale. | /* Return the ISO 639 language code of the current locale. | |||
Return "" if it is unknown, or in the "C" locale. */ | Return "" if it is unknown, or in the "C" locale. */ | |||
extern const char * | extern const char * | |||
uc_locale_language (void); | uc_locale_language (void) | |||
_UC_ATTRIBUTE_PURE; | ||||
/* Conventions: | /* Conventions: | |||
All functions prefixed with u8_ operate on UTF-8 encoded strings. | All functions prefixed with u8_ operate on UTF-8 encoded strings. | |||
Their unit is an uint8_t (1 byte). | Their unit is an uint8_t (1 byte). | |||
All functions prefixed with u16_ operate on UTF-16 encoded strings. | All functions prefixed with u16_ operate on UTF-16 encoded strings. | |||
Their unit is an uint16_t (a 2-byte word). | Their unit is an uint16_t (a 2-byte word). | |||
All functions prefixed with u32_ operate on UCS-4 encoded strings. | All functions prefixed with u32_ operate on UCS-4 encoded strings. | |||
End of changes. 6 change blocks. | ||||
5 lines changed or deleted | 10 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |