libunibreak  4.0
wordbreakdef.h
Go to the documentation of this file.
1 /* vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4: */
2 
3 /*
4  * Word breaking in a Unicode sequence. Designed to be used in a
5  * generic text renderer.
6  *
7  * Copyright (C) 2013-16 Tom Hacohen <tom at stosb dot com>
8  *
9  * This software is provided 'as-is', without any express or implied
10  * warranty. In no event will the author be held liable for any damages
11  * arising from the use of this software.
12  *
13  * Permission is granted to anyone to use this software for any purpose,
14  * including commercial applications, and to alter it and redistribute
15  * it freely, subject to the following restrictions:
16  *
17  * 1. The origin of this software must not be misrepresented; you must
18  * not claim that you wrote the original software. If you use this
19  * software in a product, an acknowledgement in the product
20  * documentation would be appreciated but is not required.
21  * 2. Altered source versions must be plainly marked as such, and must
22  * not be misrepresented as being the original software.
23  * 3. This notice may not be removed or altered from any source
24  * distribution.
25  *
26  * The main reference is Unicode Standard Annex 29 (UAX #29):
27  * <URL:http://unicode.org/reports/tr29>
28  *
29  * When this library was designed, this annex was at Revision 17, for
30  * Unicode 6.0.0:
31  * <URL:http://www.unicode.org/reports/tr29/tr29-17.html>
32  *
33  * This library has been updated according to Revision 29, for
34  * Unicode 9.0.0:
35  * <URL:http://www.unicode.org/reports/tr29/tr29-29.html>
36  *
37  * The Unicode Terms of Use are available at
38  * <URL:http://www.unicode.org/copyright.html>
39  */
40 
50 #include "unibreakdef.h"
51 
57 {
81 };
82 
88 {
92 };
Definition: wordbreakdef.h:64
utf32_t start
Starting coding point.
Definition: wordbreakdef.h:89
Definition: wordbreakdef.h:69
Definition: wordbreakdef.h:65
Definition: wordbreakdef.h:72
Definition: wordbreakdef.h:77
Definition: wordbreakdef.h:79
Definition: wordbreakdef.h:67
Definition: wordbreakdef.h:60
Definition: wordbreakdef.h:78
Definition: wordbreakdef.h:73
unsigned int utf32_t
Type for UTF-32 data points.
Definition: unibreakbase.h:49
Definition: wordbreakdef.h:80
Definition: wordbreakdef.h:66
WordBreakClass
Word break classes.
Definition: wordbreakdef.h:56
Definition: wordbreakdef.h:63
enum WordBreakClass prop
The word breaking property.
Definition: wordbreakdef.h:91
Definition: wordbreakdef.h:76
Struct for entries of word break properties.
Definition: wordbreakdef.h:87
utf32_t end
End coding point.
Definition: wordbreakdef.h:90
Definition: wordbreakdef.h:71
Definition: wordbreakdef.h:68
Definition: wordbreakdef.h:70
Definition: wordbreakdef.h:74
Definition: wordbreakdef.h:75
Header file for private definitions in the libunibreak library.
Definition: wordbreakdef.h:59
Definition: wordbreakdef.h:61
Definition: wordbreakdef.h:58
Definition: wordbreakdef.h:62