From: Kevin Day Date: Wed, 7 Dec 2022 05:53:37 +0000 (-0600) Subject: Bugfix: The private is_zero_width function is also needed by the is_graph functions. X-Git-Tag: 0.6.2~48 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=5a81f6bb01d6ca925a1a5745a64b6c0ca1776964;p=fll Bugfix: The private is_zero_width function is also needed by the is_graph functions. --- diff --git a/level_0/f_utf/c/private-utf_zero_width.c b/level_0/f_utf/c/private-utf_zero_width.c index 2aa2e35..e646453 100644 --- a/level_0/f_utf/c/private-utf_zero_width.c +++ b/level_0/f_utf/c/private-utf_zero_width.c @@ -6,7 +6,7 @@ extern "C" { #endif -#if !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) +#if !defined(_di_f_utf_character_is_graph_) || !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_zero_width_) f_status_t private_f_utf_character_is_zero_width(const f_utf_char_t sequence) { if (macro_f_utf_char_t_width_is(sequence) == 3) { @@ -35,7 +35,7 @@ extern "C" { return F_false; } -#endif // !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) +#endif // !defined(_di_f_utf_character_is_graph_) || !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_zero_width_) #ifdef __cplusplus } // extern "C" diff --git a/level_0/f_utf/c/private-utf_zero_width.h b/level_0/f_utf/c/private-utf_zero_width.h index cf1eee8..b455950 100644 --- a/level_0/f_utf/c/private-utf_zero_width.h +++ b/level_0/f_utf/c/private-utf_zero_width.h @@ -34,12 +34,14 @@ extern "C" { * F_utf_fragment (with error bit) if character is a UTF-8 fragment. * F_utf_not (with error bit) if unicode is an invalid Unicode character. * + * @see f_utf_character_is_graph() * @see f_utf_character_is_zero_width() + * @see f_utf_is_graph() * @see f_utf_is_zero_width() */ -#if !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) +#if !defined(_di_f_utf_character_is_graph_) || !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_zero_width_) extern f_status_t private_f_utf_character_is_zero_width(const f_utf_char_t sequence) F_attribute_visibility_internal_d; -#endif // !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_zero_width_) +#endif // !defined(_di_f_utf_character_is_graph_) || !defined(_di_f_utf_character_is_zero_width_) || !defined(_di_f_utf_is_graph_) || !defined(_di_f_utf_is_zero_width_) #ifdef __cplusplus } // extern "C"