From 5546757b2f118160175176322d2fb474f3f9dd85 Mon Sep 17 00:00:00 2001 From: badcel <33569-badcel@users.noreply.gitlab.gnome.org> Date: Mon, 11 Sep 2023 12:52:39 +0200 Subject: [PATCH] Update GStringChunk annotations --- glib/gstringchunk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/glib/gstringchunk.c b/glib/gstringchunk.c index f4cf6cfc9..fc2b4cdb8 100644 --- a/glib/gstringchunk.c +++ b/glib/gstringchunk.c @@ -86,7 +86,7 @@ struct _GStringChunk }; /** - * g_string_chunk_new: + * g_string_chunk_new: (constructor) * @size: the default size of the blocks of memory which are * allocated to store the strings. If a particular string * is larger than this default size, a larger block of @@ -94,7 +94,7 @@ struct _GStringChunk * * Creates a new #GStringChunk. * - * Returns: a new #GStringChunk + * Returns: (transfer full): a new #GStringChunk */ GStringChunk * g_string_chunk_new (gsize size) @@ -115,7 +115,7 @@ g_string_chunk_new (gsize size) /** * g_string_chunk_free: - * @chunk: a #GStringChunk + * @chunk: (transfer full): a #GStringChunk * * Frees all memory allocated by the #GStringChunk. * After calling g_string_chunk_free() it is not safe to