From f39640b759467a86fb12ed5b8eab11545704406d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 26 Sep 2023 21:20:39 -0400 Subject: [PATCH] docs: Move the GDataOutputStream SECTION Move content to struct docs. Helps: #3037 --- gio/gdataoutputstream.c | 13 ++++--------- gio/gdataoutputstream.h | 6 ------ 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/gio/gdataoutputstream.c b/gio/gdataoutputstream.c index f2d1f3988..64ef1bc5b 100644 --- a/gio/gdataoutputstream.c +++ b/gio/gdataoutputstream.c @@ -30,16 +30,11 @@ /** - * SECTION:gdataoutputstream - * @short_description: Data Output Stream - * @include: gio/gio.h - * @see_also: #GOutputStream - * - * Data output stream implements #GOutputStream and includes functions for - * writing data directly to an output stream. + * GDataOutputStream: * - **/ - + * Data output stream implements [iface@Gio.OutputStream] and includes functions + * for writing data directly to an output stream. + */ struct _GDataOutputStreamPrivate { diff --git a/gio/gdataoutputstream.h b/gio/gdataoutputstream.h index a8d434a40..9fad093e6 100644 --- a/gio/gdataoutputstream.h +++ b/gio/gdataoutputstream.h @@ -38,12 +38,6 @@ G_BEGIN_DECLS #define G_IS_DATA_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DATA_OUTPUT_STREAM)) #define G_DATA_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DATA_OUTPUT_STREAM, GDataOutputStreamClass)) -/** - * GDataOutputStream: - * - * An implementation of #GBufferedOutputStream that allows for high-level - * data manipulation of arbitrary data (including binary operations). - **/ typedef struct _GDataOutputStream GDataOutputStream; typedef struct _GDataOutputStreamClass GDataOutputStreamClass; typedef struct _GDataOutputStreamPrivate GDataOutputStreamPrivate;