[vala/0.36] gobject-2.0: Use correct array-length-type for returned arrays



commit 96b09ca44610753cf17dd439cced44061977cba8
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Jan 2 13:08:56 2019 +0100

    gobject-2.0: Use correct array-length-type for returned arrays

 vapi/gobject-2.0.vapi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index 2bae7361d..d2603deb8 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -56,7 +56,7 @@ namespace GLib {
                public static unowned GLib.SignalInvocationHint? get_invocation_hint (void* instance);
                [CCode (cheader_filename = "glib-object.h")]
                public static bool has_handler_pending (void* instance, uint signal_id, GLib.Quark detail, 
bool may_be_blocked);
-               [CCode (cheader_filename = "glib-object.h")]
+               [CCode (array_length_type = "guint", cheader_filename = "glib-object.h")]
                public static uint[] list_ids (GLib.Type itype);
                [CCode (cheader_filename = "glib-object.h")]
                public static uint lookup (string name, GLib.Type itype);
@@ -565,6 +565,7 @@ namespace GLib {
                public weak string name;
                public GLib.Value value;
        }
+       [CCode (cheader_filename = "glib-object.h", has_type_id = false)]
        public struct SignalInvocationHint {
                public uint signal_id;
                public GLib.Quark detail;


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