mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
docs: Move the GSimpleIOStream SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
dcb382457d
commit
2fc8f47358
@ -27,28 +27,17 @@
|
|||||||
#include "gsimpleiostream.h"
|
#include "gsimpleiostream.h"
|
||||||
#include "gtask.h"
|
#include "gtask.h"
|
||||||
|
|
||||||
/**
|
|
||||||
* SECTION:gsimpleiostream
|
|
||||||
* @short_description: A wrapper around an input and an output stream.
|
|
||||||
* @include: gio/gio.h
|
|
||||||
* @see_also: #GIOStream
|
|
||||||
*
|
|
||||||
* GSimpleIOStream creates a #GIOStream from an arbitrary #GInputStream and
|
|
||||||
* #GOutputStream. This allows any pair of input and output streams to be used
|
|
||||||
* with #GIOStream methods.
|
|
||||||
*
|
|
||||||
* This is useful when you obtained a #GInputStream and a #GOutputStream
|
|
||||||
* by other means, for instance creating them with platform specific methods as
|
|
||||||
* g_unix_input_stream_new() or g_win32_input_stream_new(), and you want
|
|
||||||
* to take advantage of the methods provided by #GIOStream.
|
|
||||||
*
|
|
||||||
* Since: 2.44
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GSimpleIOStream:
|
* GSimpleIOStream:
|
||||||
*
|
*
|
||||||
* A wrapper around a #GInputStream and a #GOutputStream.
|
* `GSimpleIOStream` creates a [class@Gio.IOStream] from an arbitrary
|
||||||
|
* [class@Gio.InputStream] and [class@Gio.OutputStream]. This allows any pair of
|
||||||
|
* input and output streams to be used with [class@Gio.IOStream] methods.
|
||||||
|
*
|
||||||
|
* This is useful when you obtained a [class@Gio.InputStream] and a
|
||||||
|
* [class@Gio.OutputStream] by other means, for instance creating them with
|
||||||
|
* platform specific methods as [ctor@Gio.UnixInputStream.new], and you want to
|
||||||
|
* take advantage of the methods provided by [class@Gio.IOStream].
|
||||||
*
|
*
|
||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user