diff options
author | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-02-27 14:51:25 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2017-03-01 09:41:09 +0100 |
commit | 303367801692a618cec2767dbe2c938b3d82f133 (patch) | |
tree | 714a7d3c4bdb1e1355dcb94ce34deac3e8e9d228 | |
parent | 438b7656f6a1632f98a2a7b3eef3d9bc90b4777f (diff) | |
download | vala-303367801692a618cec2767dbe2c938b3d82f133.tar.gz |
gobject-2.0: Add some missing "array_length_type" annotations
-rw-r--r-- | 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 ec3f04541..588dc230b 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)] |