doc: Workaround gtkdoc-scan bug leading to undocumented symbols

This commit is contained in:
Xavier Claessens 2019-07-09 08:30:07 -04:00
parent 6b6e92cb63
commit 9b7332ce2e

View File

@ -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):
*