aboutsummaryrefslogtreecommitdiff
path: root/lib/unicode/prop/uprop_is_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicode/prop/uprop_is_dep.c')
-rw-r--r--lib/unicode/prop/uprop_is_dep.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/unicode/prop/uprop_is_dep.c b/lib/unicode/prop/uprop_is_dep.c
new file mode 100644
index 0000000..aed1401
--- /dev/null
+++ b/lib/unicode/prop/uprop_is_dep.c
@@ -0,0 +1,29 @@
+/* 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(0x000149), RUNE_C(0x000149)},
+ {RUNE_C(0x000673), RUNE_C(0x000673)},
+ {RUNE_C(0x000F77), RUNE_C(0x000F77)},
+ {RUNE_C(0x000F79), RUNE_C(0x000F79)},
+ {RUNE_C(0x0017A3), RUNE_C(0x0017A4)},
+ {RUNE_C(0x00206A), RUNE_C(0x00206F)},
+ {RUNE_C(0x002329), RUNE_C(0x00232A)},
+ {RUNE_C(0x0E0001), RUNE_C(0x0E0001)},
+};
+
+__MLIB_DEFINE_BSEARCH_CONTAINS(lookup)
+
+bool
+uprop_is_dep(rune ch)
+{
+ return mlib_lookup_contains(ch);
+}