libunibreak: emojidef.h Source File

libunibreak 4.3

emojidef.h
Go to the documentation of this file.
1 /*
2 * Emoji-related routine and data.
3 *
4 * Copyright (C) 2018 Andreas Röver <roever at users dot sf dot net>
5 *
6 * This software is provided 'as-is', without any express or implied
7 * warranty. In no event will the author be held liable for any damages
8 * arising from the use of this software.
9 *
10 * Permission is granted to anyone to use this software for any purpose,
11 * including commercial applications, and to alter it and redistribute
12 * it freely, subject to the following restrictions:
13 *
14 * 1. The origin of this software must not be misrepresented; you must
15 * not claim that you wrote the original software. If you use this
16 * software in a product, an acknowledgement in the product
17 * documentation would be appreciated but is not required.
18 * 2. Altered source versions must be plainly marked as such, and must
19 * not be misrepresented as being the original software.
20 * 3. This notice may not be removed or altered from any source
21 * distribution.
22 */
23
33 #include "unibreakdef.h"
34
40 struct ExtendedPictograpic
41 {
42 utf32_t start;
43 utf32_t end;
44 };
45
46 bool ub_is_extended_pictographic(utf32_t ch);
utf32_t
unsigned int utf32_t
Type for UTF-32 data points.
Definition: unibreakbase.h:49
ExtendedPictograpic::end
utf32_t end
End codepoint, inclusive.
Definition: emojidef.h:43
ub_is_extended_pictographic
bool ub_is_extended_pictographic(utf32_t ch)
Finds out if a codepoint is extended pictographic.
Definition: emojidef.c:42
ExtendedPictograpic::start
utf32_t start
Start codepoint.
Definition: emojidef.h:42
unibreakdef.h
ExtendedPictograpic
Struct for entries of extended pictographic properties.
Definition: emojidef.h:41