]> Kevux Git Server - fll/commitdiff
Bugfix: The private is_zero_width function is also needed by the is_graph functions.
authorKevin Day <thekevinday@gmail.com>
Wed, 7 Dec 2022 05:53:37 +0000 (23:53 -0600)
committerKevin Day <thekevinday@gmail.com>
Wed, 7 Dec 2022 05:53:37 +0000 (23:53 -0600)
level_0/f_utf/c/private-utf_zero_width.c
level_0/f_utf/c/private-utf_zero_width.h

index 2aa2e35d6965eb0a29d7983c965ee6b29ffadccb..e6464532dc0ba41d5c1e473e244dcd340cfbcc54 100644 (file)
@@ -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"
index cf1eee8e890dc9363e5603c5ff2229c47521ea08..b455950946a9263319043e28cfa8341be616ece0 100644 (file)
@@ -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"