aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_is_pcm.c
blob: b1c243faf3f52807559766e9a8c1d9f90681ff68 (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
/* 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(0x000600), RUNE_C(0x000605)},
	{RUNE_C(0x0006DD), RUNE_C(0x0006DD)},
	{RUNE_C(0x00070F), RUNE_C(0x00070F)},
	{RUNE_C(0x000890), RUNE_C(0x000891)},
	{RUNE_C(0x0008E2), RUNE_C(0x0008E2)},
	{RUNE_C(0x0110BD), RUNE_C(0x0110BD)},
	{RUNE_C(0x0110CD), RUNE_C(0x0110CD)},
};

_MLIB_DEFINE_BSEARCH_CONTAINS(lookup)

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