summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-01-14 12:55:25 -0500
committerMatthias Clasen <mclasen@redhat.com>2023-01-14 12:55:25 -0500
commit908bd08dc5439497533e6eb7072717c1237cf46e (patch)
treeedc8ad254e86305374e288246c1471d12a7dbc42
parent0a26b1c0389463af62720836bed3aba2fcd6592c (diff)
downloadglib-908bd08dc5439497533e6eb7072717c1237cf46e.tar.gz
Try to make gtk-doc happy
-rw-r--r--glib/gstring.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/glib/gstring.h b/glib/gstring.h
index 00dea325b..7b8455360 100644
--- a/glib/gstring.h
+++ b/glib/gstring.h
@@ -163,8 +163,10 @@ GString* g_string_append_uri_escaped (GString *string,
const gchar *reserved_chars_allowed,
gboolean allow_utf8);
-/* -- optimize g_strig_append_c --- */
+#ifndef __GTK_DOC_IGNORE__
+
#ifdef G_CAN_INLINE
+G_ALWAYS_INLINE
static inline GString*
g_string_append_c_inline (GString *gstring,
gchar c)
@@ -180,6 +182,7 @@ g_string_append_c_inline (GString *gstring,
}
#define g_string_append_c(gstr,c) g_string_append_c_inline (gstr, c)
+G_ALWAYS_INLINE
static inline GString *
g_string_append_len_inline (GString *gstring,
const char *val,
@@ -204,6 +207,7 @@ g_string_append_len_inline (GString *gstring,
}
#define g_string_append_len(gstr,val,len) g_string_append_len_inline (gstr, val, len)
+G_ALWAYS_INLINE
static inline GString *
g_string_truncate_inline (GString *gstring,
gsize len)
@@ -223,6 +227,7 @@ g_string_truncate_inline (GString *gstring,
#endif /* G_CAN_INLINE */
+#endif /* __GTK_DOC_IGNORE__ */
GLIB_DEPRECATED
GString *g_string_down (GString *string);