summaryrefslogtreecommitdiff
path: root/docs/reference/glib
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-01-17 17:56:41 -0500
committerMatthias Clasen <mclasen@redhat.com>2023-01-17 20:56:08 -0500
commit1e38e6f53f0c0549d3d75ba76899f53b7b28f2ea (patch)
treeddc27248e3944fe4af718e2ef4e909afe7d7aee2 /docs/reference/glib
parent1aa530410990efbf23a108a51b62afd2d4ed9b20 (diff)
downloadglib-g-string-on-stack.tar.gz
GString: Support on-stack useg-string-on-stack
Move the preallocation into the GString struct, and add g_string_init and g_string_clear to enable on-stack use of GString.
Diffstat (limited to 'docs/reference/glib')
-rw-r--r--docs/reference/glib/glib-sections.txt.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/reference/glib/glib-sections.txt.in b/docs/reference/glib/glib-sections.txt.in
index 6795a141f..4fdfa570c 100644
--- a/docs/reference/glib/glib-sections.txt.in
+++ b/docs/reference/glib/glib-sections.txt.in
@@ -2652,6 +2652,8 @@ g_string_truncate
g_string_set_size
g_string_free
g_string_free_to_bytes
+g_string_init
+g_string_free
<SUBSECTION>
g_string_up