aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_is_uideo.c
blob: d90cfeada6fed459364b234e3df4a721a3996823 (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
/* 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(0x003400), RUNE_C(0x004DBF)},
	{RUNE_C(0x004E00), RUNE_C(0x009FFF)},
	{RUNE_C(0x00FA0E), RUNE_C(0x00FA0F)},
	{RUNE_C(0x00FA11), RUNE_C(0x00FA11)},
	{RUNE_C(0x00FA13), RUNE_C(0x00FA14)},
	{RUNE_C(0x00FA1F), RUNE_C(0x00FA1F)},
	{RUNE_C(0x00FA21), RUNE_C(0x00FA21)},
	{RUNE_C(0x00FA23), RUNE_C(0x00FA24)},
	{RUNE_C(0x00FA27), RUNE_C(0x00FA29)},
	{RUNE_C(0x020000), RUNE_C(0x02A6DF)},
	{RUNE_C(0x02A700), RUNE_C(0x02B739)},
	{RUNE_C(0x02B740), RUNE_C(0x02B81D)},
	{RUNE_C(0x02B820), RUNE_C(0x02CEA1)},
	{RUNE_C(0x02CEB0), RUNE_C(0x02EBE0)},
	{RUNE_C(0x02EBF0), RUNE_C(0x02EE5D)},
	{RUNE_C(0x030000), RUNE_C(0x03134A)},
	{RUNE_C(0x031350), RUNE_C(0x0323AF)},
};

__MLIB_DEFINE_BSEARCH_CONTAINS(lookup)

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