From 4bba70f54e9a4ebd576f6a34075321223308e7b8 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 5 Apr 2024 14:36:41 +0200 Subject: Fix function name --- lib/unicode/prop/uprop_is_idbo.c | 24 ------------------------ lib/unicode/prop/uprop_is_idsb.c | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 lib/unicode/prop/uprop_is_idbo.c create mode 100644 lib/unicode/prop/uprop_is_idsb.c (limited to 'lib/unicode') diff --git a/lib/unicode/prop/uprop_is_idbo.c b/lib/unicode/prop/uprop_is_idbo.c deleted file mode 100644 index 44f952e..0000000 --- a/lib/unicode/prop/uprop_is_idbo.c +++ /dev/null @@ -1,24 +0,0 @@ -/* 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(0x002FF0), RUNE_C(0x002FF1)}, - {RUNE_C(0x002FF4), RUNE_C(0x002FFD)}, - {RUNE_C(0x0031EF), RUNE_C(0x0031EF)}, -}; - -__MLIB_DEFINE_BSEARCH_CONTAINS(lookup) - -bool -uprop_is_idbo(rune ch) -{ - return mlib_lookup_contains(ch); -} diff --git a/lib/unicode/prop/uprop_is_idsb.c b/lib/unicode/prop/uprop_is_idsb.c new file mode 100644 index 0000000..4ce977c --- /dev/null +++ b/lib/unicode/prop/uprop_is_idsb.c @@ -0,0 +1,24 @@ +/* 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(0x002FF0), RUNE_C(0x002FF1)}, + {RUNE_C(0x002FF4), RUNE_C(0x002FFD)}, + {RUNE_C(0x0031EF), RUNE_C(0x0031EF)}, +}; + +__MLIB_DEFINE_BSEARCH_CONTAINS(lookup) + +bool +uprop_is_idsb(rune ch) +{ + return mlib_lookup_contains(ch); +} -- cgit v1.2.3