From 0448e758cf9d4dba3c3f8636af850e88597c1821 Mon Sep 17 00:00:00 2001 From: Mikhail Zabaluev Date: Fri, 2 Oct 2015 01:01:42 +0300 Subject: [PATCH] Skip g_bytes_new_with_free_func() in introspection The tricky ownership/mutability semantics on data make this function unusable in introspection. https://bugzilla.gnome.org/show_bug.cgi?id=755961 --- glib/gbytes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gbytes.c b/glib/gbytes.c index f12dd97c0..a106adea5 100644 --- a/glib/gbytes.c +++ b/glib/gbytes.c @@ -150,7 +150,7 @@ g_bytes_new_static (gconstpointer data, } /** - * g_bytes_new_with_free_func: + * g_bytes_new_with_free_func: (skip) * @data: (array length=size) (element-type guint8) (nullable): the data to be used for the bytes * @size: the size of @data