From ffff217a9d20cbea641c4f6bc842831729e37016 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 24 Oct 2023 10:53:24 +0100 Subject: [PATCH] docs: Move the GMemory*Stream SECTIONs Move them to the struct docs. Signed-off-by: Philip Withnall Helps: #3037 --- gio/gmemoryinputstream.c | 11 ++++------- gio/gmemoryinputstream.h | 5 ----- gio/gmemoryoutputstream.c | 11 ++++------- gio/gmemoryoutputstream.h | 5 ----- 4 files changed, 8 insertions(+), 24 deletions(-) diff --git a/gio/gmemoryinputstream.c b/gio/gmemoryinputstream.c index 80f77d107..de164542d 100644 --- a/gio/gmemoryinputstream.c +++ b/gio/gmemoryinputstream.c @@ -32,16 +32,13 @@ /** - * SECTION:gmemoryinputstream - * @short_description: Streaming input operations on memory chunks - * @include: gio/gio.h - * @see_also: #GMemoryOutputStream + * GMemoryInputStream: * - * #GMemoryInputStream is a class for using arbitrary + * `GMemoryInputStream` is a class for using arbitrary * memory chunks as input for GIO streaming input operations. * - * As of GLib 2.34, #GMemoryInputStream implements - * #GPollableInputStream. + * As of GLib 2.34, `GMemoryInputStream` implements + * [iface@Gio.PollableInputStream]. */ struct _GMemoryInputStreamPrivate { diff --git a/gio/gmemoryinputstream.h b/gio/gmemoryinputstream.h index fb72f2314..b34656700 100644 --- a/gio/gmemoryinputstream.h +++ b/gio/gmemoryinputstream.h @@ -38,11 +38,6 @@ G_BEGIN_DECLS #define G_IS_MEMORY_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_INPUT_STREAM)) #define G_MEMORY_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_INPUT_STREAM, GMemoryInputStreamClass)) -/** - * GMemoryInputStream: - * - * Implements #GInputStream for arbitrary memory chunks. - **/ typedef struct _GMemoryInputStreamClass GMemoryInputStreamClass; typedef struct _GMemoryInputStreamPrivate GMemoryInputStreamPrivate; diff --git a/gio/gmemoryoutputstream.c b/gio/gmemoryoutputstream.c index 0339a7ad7..b5b8265b2 100644 --- a/gio/gmemoryoutputstream.c +++ b/gio/gmemoryoutputstream.c @@ -35,16 +35,13 @@ /** - * SECTION:gmemoryoutputstream - * @short_description: Streaming output operations on memory chunks - * @include: gio/gio.h - * @see_also: #GMemoryInputStream + * GMemoryOutputStream: * - * #GMemoryOutputStream is a class for using arbitrary + * `GMemoryOutputStream` is a class for using arbitrary * memory chunks as output for GIO streaming output operations. * - * As of GLib 2.34, #GMemoryOutputStream trivially implements - * #GPollableOutputStream: it always polls as ready. + * As of GLib 2.34, `GMemoryOutputStream` trivially implements + * [iface@Gio.PollableOutputStream]: it always polls as ready. */ #define MIN_ARRAY_SIZE 16 diff --git a/gio/gmemoryoutputstream.h b/gio/gmemoryoutputstream.h index 08f5dcffb..6fb077beb 100644 --- a/gio/gmemoryoutputstream.h +++ b/gio/gmemoryoutputstream.h @@ -38,11 +38,6 @@ G_BEGIN_DECLS #define G_IS_MEMORY_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_MEMORY_OUTPUT_STREAM)) #define G_MEMORY_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_MEMORY_OUTPUT_STREAM, GMemoryOutputStreamClass)) -/** - * GMemoryOutputStream: - * - * Implements #GOutputStream for arbitrary memory chunks. - **/ typedef struct _GMemoryOutputStreamClass GMemoryOutputStreamClass; typedef struct _GMemoryOutputStreamPrivate GMemoryOutputStreamPrivate;