[glib: 3/12] doc: Workaround gtkdoc-scan bug leading to undocumented symbols
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 3/12] doc: Workaround gtkdoc-scan bug leading to undocumented symbols
- Date: Wed, 17 Jul 2019 10:58:52 +0000 (UTC)
commit 9b7332ce2ee345a79b8d0f33c6742f9074a06570
Author: Xavier Claessens <xavier claessens collabora com>
Date: Tue Jul 9 08:30:07 2019 -0400
doc: Workaround gtkdoc-scan bug leading to undocumented symbols
glib/gtypes.h | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/glib/gtypes.h b/glib/gtypes.h
index 000c4ca31..ca80c81fc 100644
--- a/glib/gtypes.h
+++ b/glib/gtypes.h
@@ -451,6 +451,9 @@ 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.
*/
@@ -474,6 +477,7 @@ 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]