libunibreak
8.0
Toggle main menu visibility
Loading...
Searching...
No Matches
src
indicconjunctbreakdef.h
Go to the documentation of this file.
1
/*
2
* Definitions of internal data types for Indic Conjunct Break.
3
*
4
* Copyright (C) 2024 Wu Yongwei <wuyongwei at gmail dot com>
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
24
#ifndef INDICCONJUNCTBREAKDEF_H
25
#define INDICCONJUNCTBREAKDEF_H
26
27
#include "
unibreakdef.h
"
28
33
enum
IndicConjunctBreakClass
34
{
35
InCB_Linker
,
36
InCB_Consonant
,
37
InCB_Extend
,
38
InCB_None
39
};
40
45
struct
IndicConjunctBreakProperties
46
{
47
utf32_t
start
;
48
utf32_t
end
;
49
enum
IndicConjunctBreakClass
prop
;
50
};
51
52
#endif
/* INDICCONJUNCTBREAKDEF_H */
IndicConjunctBreakClass
IndicConjunctBreakClass
Indic conjunct break (InCB) class.
Definition
indicconjunctbreakdef.h:34
InCB_Consonant
@ InCB_Consonant
Definition
indicconjunctbreakdef.h:36
InCB_None
@ InCB_None
Definition
indicconjunctbreakdef.h:38
InCB_Extend
@ InCB_Extend
Definition
indicconjunctbreakdef.h:37
InCB_Linker
@ InCB_Linker
Definition
indicconjunctbreakdef.h:35
IndicConjunctBreakProperties
Struct for entries of Indic conjunct break (InCB) properties.
Definition
indicconjunctbreakdef.h:46
IndicConjunctBreakProperties::prop
enum IndicConjunctBreakClass prop
The InCB property.
Definition
indicconjunctbreakdef.h:49
IndicConjunctBreakProperties::end
utf32_t end
End codepoint, inclusive.
Definition
indicconjunctbreakdef.h:48
IndicConjunctBreakProperties::start
utf32_t start
Start codepoint.
Definition
indicconjunctbreakdef.h:47
utf32_t
unsigned int utf32_t
Type for UTF-32 data points.
Definition
unibreakbase.h:49
unibreakdef.h
Header file for private definitions in the libunibreak library.
Generated by
1.18.0