aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_is_bidi_c.c
blob: 409c20e69b7a61ae5448696d73e6f1128366c4ee (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
/* 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(0x00061C), RUNE_C(0x00061C)},
	{RUNE_C(0x00200E), RUNE_C(0x00200F)},
	{RUNE_C(0x00202A), RUNE_C(0x00202E)},
	{RUNE_C(0x002066), RUNE_C(0x002069)},
};

_MLIB_DEFINE_BSEARCH_CONTAINS(lookup)

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