]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vapi: Update GIR-based bindings
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 25 Jul 2020 13:06:23 +0000 (15:06 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 25 Jul 2020 13:06:23 +0000 (15:06 +0200)
vapi/gobject-introspection-1.0.vapi
vapi/libsoup-2.4.vapi

index 36c40ada98a412084f82efce64aeeffc0ee32b2b..f0b16d3de6509cf1eb4212bc184fd55ed0b0e693 100644 (file)
@@ -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 ()")]
index 531dab80300ba09f053c0b5bd5892ad237ff79d0..cf67516d23524bd24e07625c20a9115ebbbb9e18 100644 (file)
@@ -1549,6 +1549,7 @@ namespace Soup {
                USE_PROXY,
                NOT_APPEARING_IN_THIS_PROTOCOL,
                TEMPORARY_REDIRECT,
+               PERMANENT_REDIRECT,
                BAD_REQUEST,
                UNAUTHORIZED,
                PAYMENT_REQUIRED,