[glib: 1/2] Revert "doc: Workaround gtkdoc-scan bug leading to undocumented symbols"



commit 4c4669f04d9d7313397b21fe5da2c2ed84536d77
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Mon Jul 29 09:13:57 2019 -0400

    Revert "doc: Workaround gtkdoc-scan bug leading to undocumented
    symbols"
    
    This reverts commit 9b7332ce2ee345a79b8d0f33c6742f9074a06570.

 glib/gtypes.h | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/glib/gtypes.h b/glib/gtypes.h
index d646f15e8..df65836a0 100644
--- a/glib/gtypes.h
+++ b/glib/gtypes.h
@@ -451,9 +451,6 @@ typedef const gchar *   (*GTranslateFunc)       (const gchar   *str,
     _GLIB_CHECKED_MUL_U32(dest, a, b)
 #endif
 
-/* FIXME: Hide this from gtkdoc scanner because it confuses its poor regexes.
- * https://gitlab.gnome.org/GNOME/gtk-doc/issues/90 */
-#ifndef __GTK_DOC_IGNORE__
 /* The names of the following inlines are private.  Use the macro
  * definitions above.
  */
@@ -477,7 +474,6 @@ static inline gboolean _GLIB_CHECKED_ADD_U64 (guint64 *dest, guint64 a, guint64
 static inline gboolean _GLIB_CHECKED_MUL_U64 (guint64 *dest, guint64 a, guint64 b) {
   *dest = a * b; return !a || *dest / a == b; }
 #endif
-#endif /* __GTK_DOC_IGNORE__ */
 
 /* IEEE Standard 754 Single Precision Storage Format (gfloat):
  *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]