/* 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 constexpr bitset(bs, LATIN1_MAX) = { 0x00, 0x3E, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x20, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, }; static const struct { rune lo, hi; } lookup[] = { {RUNE_C(0x001680), RUNE_C(0x001680)}, {RUNE_C(0x002000), RUNE_C(0x00200A)}, {RUNE_C(0x002028), RUNE_C(0x002029)}, {RUNE_C(0x00202F), RUNE_C(0x00202F)}, {RUNE_C(0x00205F), RUNE_C(0x00205F)}, {RUNE_C(0x003000), RUNE_C(0x003000)}, }; _MLIB_DEFINE_BSEARCH_CONTAINS(lookup) bool uprop_is_wspace(rune ch) { return ch <= LATIN1_MAX ? TESTBIT(bs, ch) : mlib_lookup_contains(ch); }