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



commit 70bea6de390d6ce2423baff90d4aa45ff4ed9332
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 | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index fa146a37d..cc8e44f61 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -541,6 +541,7 @@ namespace GLib {
                public static void emit_by_name (void* instance, string detailed_signal, ...);
                public static unowned GLib.SignalInvocationHint? get_invocation_hint (void* instance);
                public static bool has_handler_pending (void* instance, uint signal_id, GLib.Quark detail, 
bool may_be_blocked);
+               [CCode (array_length_type = "guint")]
                public static uint[] list_ids (GLib.Type itype);
                public static uint lookup (string name, GLib.Type itype);
                public static unowned string name (uint signal_id);


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