|
||||
File indexing completed on 2025-01-17 09:56:13
0001 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ 0002 /* Association between Unicode characters and their names. 0003 Copyright (C) 2000-2002, 2005, 2007, 2009-2024 Free Software Foundation, 0004 Inc. 0005 0006 This file is free software. 0007 It is dual-licensed under "the GNU LGPLv3+ or the GNU GPLv2+". 0008 You can redistribute it and/or modify it under either 0009 - the terms of the GNU Lesser General Public License as published 0010 by the Free Software Foundation, either version 3, or (at your 0011 option) any later version, or 0012 - the terms of the GNU General Public License as published by the 0013 Free Software Foundation; either version 2, or (at your option) 0014 any later version, or 0015 - the same dual license "the GNU LGPLv3+ or the GNU GPLv2+". 0016 0017 This file is distributed in the hope that it will be useful, 0018 but WITHOUT ANY WARRANTY; without even the implied warranty of 0019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0020 Lesser General Public License and the GNU General Public License 0021 for more details. 0022 0023 You should have received a copy of the GNU Lesser General Public 0024 License and of the GNU General Public License along with this 0025 program. If not, see <https://www.gnu.org/licenses/>. */ 0026 0027 #ifndef _UNINAME_H 0028 #define _UNINAME_H 0029 0030 #include "unitypes.h" 0031 0032 #ifdef __cplusplus 0033 extern "C" { 0034 #endif 0035 0036 /* Required size of buffer for a Unicode character name. */ 0037 #define UNINAME_MAX 256 0038 0039 /* Looks up the name of a Unicode character, in uppercase ASCII. 0040 Returns the filled buf, or NULL if the character does not have a name. */ 0041 extern char * 0042 unicode_character_name (ucs4_t uc, char *buf); 0043 0044 /* Looks up the Unicode character with a given name, in upper- or lowercase 0045 ASCII. Returns the character if found, or UNINAME_INVALID if not found. */ 0046 extern ucs4_t 0047 unicode_name_character (const char *name) 0048 _UC_ATTRIBUTE_PURE; 0049 #define UNINAME_INVALID ((ucs4_t) 0xFFFF) 0050 0051 #ifdef __cplusplus 0052 } 0053 #endif 0054 0055 #endif /* _UNINAME_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |