mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
docs: Move the GStrvBuilder SECTION
Move the contents to the struct docs. Helps: #3037
This commit is contained in:
parent
c50f94e41e
commit
be9a463a10
@ -27,21 +27,18 @@
|
||||
#include "gmessages.h"
|
||||
|
||||
/**
|
||||
* SECTION:gstrvbuilder
|
||||
* @title: GStrvBuilder
|
||||
* @short_description: Helper to create NULL-terminated string arrays.
|
||||
* GStrvBuilder:
|
||||
*
|
||||
* #GStrvBuilder is a method of easily building dynamically sized
|
||||
* NULL-terminated string arrays.
|
||||
* `GStrvBuilder` is a helper object to build a %NULL-terminated string arrays.
|
||||
*
|
||||
* The following example shows how to build a two element array:
|
||||
*
|
||||
* |[<!-- language="C" -->
|
||||
* ```c
|
||||
* g_autoptr(GStrvBuilder) builder = g_strv_builder_new ();
|
||||
* g_strv_builder_add (builder, "hello");
|
||||
* g_strv_builder_add (builder, "world");
|
||||
* g_auto(GStrv) array = g_strv_builder_end (builder);
|
||||
* ]|
|
||||
* ```
|
||||
*
|
||||
* Since: 2.68
|
||||
*/
|
||||
|
@ -30,14 +30,6 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GStrvBuilder:
|
||||
*
|
||||
* A helper object to build a %NULL-terminated string array
|
||||
* by appending. See g_strv_builder_new().
|
||||
*
|
||||
* Since: 2.68
|
||||
*/
|
||||
typedef struct _GStrvBuilder GStrvBuilder;
|
||||
|
||||
GLIB_AVAILABLE_IN_2_68
|
||||
|
Loading…
Reference in New Issue
Block a user