aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_is_epres.c
blob: cfd4b4b55d9dee3f09f72b82e3e9ea70440cdf83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/* This file is autogenerated by gen/prop/bool-props; DO NOT EDIT. */

#include "_bsearch.h"
#include "bitset.h"
#include "rune.h"
#include "unicode/prop.h"

/* clang-format off */

static const struct {
	rune lo, hi;
} lookup[] = {
	{RUNE_C(0x00231A), RUNE_C(0x00231B)},
	{RUNE_C(0x0023E9), RUNE_C(0x0023EC)},
	{RUNE_C(0x0023F0), RUNE_C(0x0023F0)},
	{RUNE_C(0x0023F3), RUNE_C(0x0023F3)},
	{RUNE_C(0x0025FD), RUNE_C(0x0025FE)},
	{RUNE_C(0x002614), RUNE_C(0x002615)},
	{RUNE_C(0x002648), RUNE_C(0x002653)},
	{RUNE_C(0x00267F), RUNE_C(0x00267F)},
	{RUNE_C(0x002693), RUNE_C(0x002693)},
	{RUNE_C(0x0026A1), RUNE_C(0x0026A1)},
	{RUNE_C(0x0026AA), RUNE_C(0x0026AB)},
	{RUNE_C(0x0026BD), RUNE_C(0x0026BE)},
	{RUNE_C(0x0026C4), RUNE_C(0x0026C5)},
	{RUNE_C(0x0026CE), RUNE_C(0x0026CE)},
	{RUNE_C(0x0026D4), RUNE_C(0x0026D4)},
	{RUNE_C(0x0026EA), RUNE_C(0x0026EA)},
	{RUNE_C(0x0026F2), RUNE_C(0x0026F3)},
	{RUNE_C(0x0026F5), RUNE_C(0x0026F5)},
	{RUNE_C(0x0026FA), RUNE_C(0x0026FA)},
	{RUNE_C(0x0026FD), RUNE_C(0x0026FD)},
	{RUNE_C(0x002705), RUNE_C(0x002705)},
	{RUNE_C(0x00270A), RUNE_C(0x00270B)},
	{RUNE_C(0x002728), RUNE_C(0x002728)},
	{RUNE_C(0x00274C), RUNE_C(0x00274C)},
	{RUNE_C(0x00274E), RUNE_C(0x00274E)},
	{RUNE_C(0x002753), RUNE_C(0x002755)},
	{RUNE_C(0x002757), RUNE_C(0x002757)},
	{RUNE_C(0x002795), RUNE_C(0x002797)},
	{RUNE_C(0x0027B0), RUNE_C(0x0027B0)},
	{RUNE_C(0x0027BF), RUNE_C(0x0027BF)},
	{RUNE_C(0x002B1B), RUNE_C(0x002B1C)},
	{RUNE_C(0x002B50), RUNE_C(0x002B50)},
	{RUNE_C(0x002B55), RUNE_C(0x002B55)},
	{RUNE_C(0x01F004), RUNE_C(0x01F004)},
	{RUNE_C(0x01F0CF), RUNE_C(0x01F0CF)},
	{RUNE_C(0x01F18E), RUNE_C(0x01F18E)},
	{RUNE_C(0x01F191), RUNE_C(0x01F19A)},
	{RUNE_C(0x01F1E6), RUNE_C(0x01F1FF)},
	{RUNE_C(0x01F201), RUNE_C(0x01F201)},
	{RUNE_C(0x01F21A), RUNE_C(0x01F21A)},
	{RUNE_C(0x01F22F), RUNE_C(0x01F22F)},
	{RUNE_C(0x01F232), RUNE_C(0x01F236)},
	{RUNE_C(0x01F238), RUNE_C(0x01F23A)},
	{RUNE_C(0x01F250), RUNE_C(0x01F251)},
	{RUNE_C(0x01F300), RUNE_C(0x01F320)},
	{RUNE_C(0x01F32D), RUNE_C(0x01F335)},
	{RUNE_C(0x01F337), RUNE_C(0x01F37C)},
	{RUNE_C(0x01F37E), RUNE_C(0x01F393)},
	{RUNE_C(0x01F3A0), RUNE_C(0x01F3CA)},
	{RUNE_C(0x01F3CF), RUNE_C(0x01F3D3)},
	{RUNE_C(0x01F3E0), RUNE_C(0x01F3F0)},
	{RUNE_C(0x01F3F4), RUNE_C(0x01F3F4)},
	{RUNE_C(0x01F3F8), RUNE_C(0x01F43E)},
	{RUNE_C(0x01F440), RUNE_C(0x01F440)},
	{RUNE_C(0x01F442), RUNE_C(0x01F4FC)},
	{RUNE_C(0x01F4FF), RUNE_C(0x01F53D)},
	{RUNE_C(0x01F54B), RUNE_C(0x01F54E)},
	{RUNE_C(0x01F550), RUNE_C(0x01F567)},
	{RUNE_C(0x01F57A), RUNE_C(0x01F57A)},
	{RUNE_C(0x01F595), RUNE_C(0x01F596)},
	{RUNE_C(0x01F5A4), RUNE_C(0x01F5A4)},
	{RUNE_C(0x01F5FB), RUNE_C(0x01F64F)},
	{RUNE_C(0x01F680), RUNE_C(0x01F6C5)},
	{RUNE_C(0x01F6CC), RUNE_C(0x01F6CC)},
	{RUNE_C(0x01F6D0), RUNE_C(0x01F6D2)},
	{RUNE_C(0x01F6D5), RUNE_C(0x01F6D7)},
	{RUNE_C(0x01F6DC), RUNE_C(0x01F6DF)},
	{RUNE_C(0x01F6EB), RUNE_C(0x01F6EC)},
	{RUNE_C(0x01F6F4), RUNE_C(0x01F6FC)},
	{RUNE_C(0x01F7E0), RUNE_C(0x01F7EB)},
	{RUNE_C(0x01F7F0), RUNE_C(0x01F7F0)},
	{RUNE_C(0x01F90C), RUNE_C(0x01F93A)},
	{RUNE_C(0x01F93C), RUNE_C(0x01F945)},
	{RUNE_C(0x01F947), RUNE_C(0x01F9FF)},
	{RUNE_C(0x01FA70), RUNE_C(0x01FA7C)},
	{RUNE_C(0x01FA80), RUNE_C(0x01FA88)},
	{RUNE_C(0x01FA90), RUNE_C(0x01FABD)},
	{RUNE_C(0x01FABF), RUNE_C(0x01FAC5)},
	{RUNE_C(0x01FACE), RUNE_C(0x01FADB)},
	{RUNE_C(0x01FAE0), RUNE_C(0x01FAE8)},
	{RUNE_C(0x01FAF0), RUNE_C(0x01FAF8)},
};

_MLIB_DEFINE_BSEARCH_CONTAINS(lookup)

bool
uprop_is_epres(rune ch)
{
	return mlib_lookup_contains(ch);
}