[glib] Skip g_bytes_new_with_free_func() in introspection



commit 0448e758cf9d4dba3c3f8636af850e88597c1821
Author: Mikhail Zabaluev <mikhail zabaluev gmail com>
Date:   Fri Oct 2 01:01:42 2015 +0300

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gbytes.c b/glib/gbytes.c
index f12dd97..a106ade 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]