From 9add21edfc0c97c3077b12d3246a5f92c976df52 Mon Sep 17 00:00:00 2001 From: badcel <33569-badcel@users.noreply.gitlab.gnome.org> Date: Fri, 19 Jul 2024 17:09:57 +0200 Subject: [PATCH] GBytes: Add copy-func and free-func annotations --- glib/gbytes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glib/gbytes.c b/glib/gbytes.c index 380e39f96..3c6436371 100644 --- a/glib/gbytes.c +++ b/glib/gbytes.c @@ -37,7 +37,7 @@ #include /** - * GBytes: + * GBytes: (copy-func g_bytes_ref) (free-func g_bytes_unref) * * A simple refcounted data type representing an immutable sequence of zero or * more bytes from an unspecified origin. @@ -609,4 +609,4 @@ g_bytes_get_region (GBytes *bytes, */ return ((guchar *) bytes->data) + offset; -} \ No newline at end of file +}