From 1d220258059543cd9f4ff31027702fb4e6b8186a Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Sat, 25 Jul 2020 15:06:23 +0200 Subject: [PATCH] vapi: Update GIR-based bindings --- vapi/gobject-introspection-1.0.vapi | 28 ++++++++++++++-------------- vapi/libsoup-2.4.vapi | 1 + 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/vapi/gobject-introspection-1.0.vapi b/vapi/gobject-introspection-1.0.vapi index 36c40ada9..f0b16d3de 100644 --- a/vapi/gobject-introspection-1.0.vapi +++ b/vapi/gobject-introspection-1.0.vapi @@ -123,18 +123,18 @@ namespace GI { [CCode (cheader_filename = "girepository.h", type_id = "g_base_info_gtype_get_type ()")] [Compact] public class ObjectInfo : GI.BaseInfo { - public GI.FunctionInfo find_method (string name); - public GI.FunctionInfo find_method_using_interfaces (string name, out GI.ObjectInfo implementor); - public GI.SignalInfo find_signal (string name); - public GI.VFuncInfo find_vfunc (string name); - public GI.VFuncInfo find_vfunc_using_interfaces (string name, out GI.ObjectInfo implementor); + public GI.FunctionInfo? find_method (string name); + public GI.FunctionInfo? find_method_using_interfaces (string name, out GI.ObjectInfo implementor); + public GI.SignalInfo? find_signal (string name); + public GI.VFuncInfo? find_vfunc (string name); + public GI.VFuncInfo? find_vfunc_using_interfaces (string name, out GI.ObjectInfo implementor); public bool get_abstract (); - public GI.StructInfo get_class_struct (); + public GI.StructInfo? get_class_struct (); public GI.ConstantInfo get_constant (int n); public GI.FieldInfo get_field (int n); public bool get_fundamental (); - public unowned string get_get_value_function (); - public unowned GI.ObjectInfoGetValueFunction get_get_value_function_pointer (); + public unowned string? get_get_value_function (); + public unowned GI.ObjectInfoGetValueFunction? get_get_value_function_pointer (); public GI.InterfaceInfo get_interface (int n); public GI.FunctionInfo get_method (int n); public int get_n_constants (); @@ -146,15 +146,15 @@ namespace GI { public int get_n_vfuncs (); public GI.ObjectInfo? get_parent (); public GI.PropertyInfo get_property (int n); - public unowned string get_ref_function (); - public unowned GI.ObjectInfoRefFunction get_ref_function_pointer (); - public unowned string get_set_value_function (); - public unowned GI.ObjectInfoSetValueFunction get_set_value_function_pointer (); + public unowned string? get_ref_function (); + public unowned GI.ObjectInfoRefFunction? get_ref_function_pointer (); + public unowned string? get_set_value_function (); + public unowned GI.ObjectInfoSetValueFunction? get_set_value_function_pointer (); public GI.SignalInfo get_signal (int n); public unowned string get_type_init (); public unowned string get_type_name (); - public unowned string get_unref_function (); - public unowned GI.ObjectInfoUnrefFunction get_unref_function_pointer (); + public unowned string? get_unref_function (); + public unowned GI.ObjectInfoUnrefFunction? get_unref_function_pointer (); public GI.VFuncInfo get_vfunc (int n); } [CCode (cheader_filename = "girepository.h", type_id = "g_base_info_gtype_get_type ()")] diff --git a/vapi/libsoup-2.4.vapi b/vapi/libsoup-2.4.vapi index 531dab803..cf67516d2 100644 --- a/vapi/libsoup-2.4.vapi +++ b/vapi/libsoup-2.4.vapi @@ -1549,6 +1549,7 @@ namespace Soup { USE_PROXY, NOT_APPEARING_IN_THIS_PROTOCOL, TEMPORARY_REDIRECT, + PERMANENT_REDIRECT, BAD_REQUEST, UNAUTHORIZED, PAYMENT_REQUIRED, -- 2.47.2