diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-04-21 23:23:30 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-04-21 23:23:30 +0200 |
commit | a13daaddc5e77ab028553caa92e1bcb0206e892f (patch) | |
tree | cd6eac9fc66f82a3b69e4f815a2eecfe12b7b694 | |
parent | 106a59586aeba3fb1a0883e2fdaa51753fdbb68b (diff) |
Fix typo (extpic -> extpict)
-rwxr-xr-x | gen/prop/bool-props | 2 | ||||
-rw-r--r-- | include/unicode/prop.h | 2 | ||||
-rw-r--r-- | lib/unicode/prop/uprop_is_extpict.c (renamed from lib/unicode/prop/uprop_is_extpic.c) | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/gen/prop/bool-props b/gen/prop/bool-props index 3d806b5..b98b9d8 100755 --- a/gen/prop/bool-props +++ b/gen/prop/bool-props @@ -57,7 +57,7 @@ ecomp=Emoji_Component emod=Emoji_Modifier emoji=Emoji epres=Emoji_Presentation -extpic=Extended_Pictographic +extpict=Extended_Pictographic ' props4=' diff --git a/include/unicode/prop.h b/include/unicode/prop.h index d450636..7928fdc 100644 --- a/include/unicode/prop.h +++ b/include/unicode/prop.h @@ -1157,7 +1157,7 @@ enum uprop_wb { [[_mlib_pure]] bool uprop_is_emoji(rune); [[_mlib_pure]] bool uprop_is_epres(rune); [[_mlib_pure]] bool uprop_is_ext(rune); -[[_mlib_pure]] bool uprop_is_extpic(rune); +[[_mlib_pure]] bool uprop_is_extpict(rune); [[_mlib_pure]] bool uprop_is_gr_base(rune); [[_mlib_pure]] bool uprop_is_gr_ext(rune); [[_mlib_pure]] bool uprop_is_hex(rune); diff --git a/lib/unicode/prop/uprop_is_extpic.c b/lib/unicode/prop/uprop_is_extpict.c index c69f04b..5334703 100644 --- a/lib/unicode/prop/uprop_is_extpic.c +++ b/lib/unicode/prop/uprop_is_extpict.c @@ -98,7 +98,7 @@ static const struct { _MLIB_DEFINE_BSEARCH_CONTAINS(lookup) bool -uprop_is_extpic(rune ch) +uprop_is_extpict(rune ch) { return ch <= LATIN1_MAX ? TESTBIT(bs, ch) : mlib_lookup_contains(ch); } |