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



commit d6c2307048b543417e0fd6354d723424d7289fc5
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 edcfd9dfe..f6b43b659 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);
@@ -574,6 +574,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]