[vala/0.34] gobject-2.0: Add some missing "array_length_type" annotations



commit 303367801692a618cec2767dbe2c938b3d82f133
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Mon Feb 27 14:51:25 2017 +0100

    gobject-2.0: Add some missing "array_length_type" annotations

 vapi/gobject-2.0.vapi |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/gobject-2.0.vapi b/vapi/gobject-2.0.vapi
index ec3f045..588dc23 100644
--- a/vapi/gobject-2.0.vapi
+++ b/vapi/gobject-2.0.vapi
@@ -97,7 +97,7 @@ namespace GLib {
                public void add_invalidate_notifier (void* notify_data, GLib.ClosureNotify notify_func);
                public void add_marshal_guards (void* pre_marshal_data, GLib.ClosureNotify 
pre_marshal_notify, void* post_marshal_data, GLib.ClosureNotify post_marshal_notify);
                public void invalidate ();
-               public void invoke (out GLib.Value? return_value, [CCode (array_length_pos = 1.9)] 
GLib.Value[] param_values, void* invocation_hint);
+               public void invoke (out GLib.Value return_value, [CCode (array_length_pos = 1.9, 
array_length_type = "guint")] GLib.Value[] param_values, void* invocation_hint);
                public void remove_finalize_notifier (void* notify_data, GLib.ClosureNotify notify_func);
                public void remove_invalidate_notifier (void* notify_data, GLib.ClosureNotify notify_func);
                public void set_marshal (GLib.ClosureMarshal marshal);
@@ -165,7 +165,7 @@ namespace GLib {
                public GLib.Type get_type ();
                public static GLib.Object @new (GLib.Type type, ...);
                public static GLib.Object new_valist (GLib.Type type, string? firstprop, va_list var_args);
-               public static GLib.Object newv (GLib.Type type, [CCode (array_length_pos = 1.9)] 
GLib.Parameter[] parameters);
+               public static GLib.Object newv (GLib.Type type, [CCode (array_length_pos = 1.9, 
array_length_type = "guint")] GLib.Parameter[] parameters);
                [CCode (cname = "g_object_notify")]
                public void notify_property (string property_name);
                public unowned GLib.Object @ref ();
@@ -665,14 +665,14 @@ namespace GLib {
        [CCode (has_target = false)]
        public delegate void Callback ();
        [CCode (has_target = false, instance_pos = 0)]
-       public delegate void ClosureMarshal (GLib.Closure closure, out GLib.Value return_value, [CCode 
(array_length_pos = 2.9)] GLib.Value[] param_values, void* invocation_hint, void* marshal_data);
+       public delegate void ClosureMarshal (GLib.Closure closure, out GLib.Value return_value, [CCode 
(array_length_pos = 2.9, array_length_type = "guint")] GLib.Value[] param_values, void* invocation_hint, 
void* marshal_data);
        [CCode (has_target = false)]
        public delegate void ClosureNotify (void* data, GLib.Closure closure);
        [CCode (has_target = false)]
        public delegate void ObjectGetPropertyFunc (GLib.Object object, uint property_id, GLib.Value value, 
GLib.ParamSpec pspec);
        [CCode (has_target = false)]
        public delegate void ObjectSetPropertyFunc (GLib.Object object, uint property_id, GLib.Value value, 
GLib.ParamSpec pspec);
-       public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 
1.9)] GLib.Value[] param_values);
+       public delegate bool SignalEmissionHook (GLib.SignalInvocationHint ihint, [CCode (array_length_pos = 
1.9, array_length_type = "guint")] GLib.Value[] param_values);
        [CCode (instance_pos = 0)]
        public delegate void ToggleNotify (GLib.Object object, bool is_last_ref);
        [CCode (has_target = false)]


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