]> 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:55:48 +0000 (23:55 -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 1eaf6ae3ef0c8cf84147698d5575477fdb7d5d1f..b9b2b7929772e9a82a41a04c331fce201c6b3da5 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"