]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: add new symbols for 2.46
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 8 Sep 2015 15:10:06 +0000 (17:10 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Tue, 8 Sep 2015 15:10:06 +0000 (17:10 +0200)
vapi/glib-2.0.vapi
vapi/gobject-2.0.vapi

index b6b87c28757c76a74a926f1ba6a82451ff2b1979..406d96afbe3f24369a2692e83382d284c5166754 100644 (file)
@@ -1913,6 +1913,7 @@ namespace GLib {
                public void set_max_threads (int max_threads) throws ThreadError;
                public int get_max_threads ();
                public uint get_num_threads ();
+               public bool move_to_front (T data);
                public uint unprocessed ();
                [CCode (cname = "g_thread_pool_free")]
                void _free (bool immediate, bool wait);
@@ -1950,9 +1951,13 @@ namespace GLib {
                public void unlock ();
                public void ref_unlocked ();
                public void unref_and_unlock ();
+               public void push_front (owned G data);
+               public void push_front_unlocked (owned G data);
                public void push_unlocked (owned G data);
                public void push_sorted_unlocked (owned G data, CompareDataFunc<G> func);
                public G pop_unlocked ();
+               public bool remove (G data);
+               public bool remove_unlocked (G data);
                public G? try_pop_unlocked ();
                public G? timed_pop_unlocked (ref TimeVal end_time);
                public int length_unlocked ();
@@ -2168,12 +2173,18 @@ namespace GLib {
        [Assert]
        public static void assert (bool expr);
        [Assert]
+       public static void assert_cmpmem (uint8[] m1, uint8[] m2);
+       [Assert]
+       public static void assert_error (Error? error, Quark error_domain, int error_code);
+       [Assert]
        public static void assert_false (bool expr);
        [Assert]
        public static void assert_true (bool expr);
        [Assert]
        public static void assert_null (void* expr);
        [Assert]
+       public static void assert_no_error (Error? error);
+       [Assert]
        public static void assert_nonnull (void* expr);
        [NoReturn]
        public static void assert_not_reached ();
@@ -2232,6 +2243,7 @@ namespace GLib {
 
        namespace Log {
                public static uint set_handler (string? log_domain, LogLevelFlags log_levels, LogFunc log_func);
+               public static void set_handler_full (string? log_domain, LogLevelFlags log_levels, owned LogFunc log_func);
                public static void set_default_handler (LogFunc log_func);
                [CCode (delegate_target = false)]
                public static GLib.LogFunc default_handler;
@@ -4759,6 +4771,10 @@ namespace GLib {
                public const uint @2_34;
                public const uint @2_36;
                public const uint @2_38;
+               public const uint @2_40;
+               public const uint @2_42;
+               public const uint @2_44;
+               public const uint @2_46;
 
                [CCode (cname = "glib_binary_age")]
                public const uint binary_age;
index f015b3dca1b93e06afd04472f0b185e98159a02c..918609d90d95337159903925609a461c7a0cc6f0 100644 (file)
@@ -146,6 +146,7 @@ namespace GLib {
                public int values_cmp (Value value1, Value value2);
                public unowned string get_blurb ();
                public unowned string get_name ();
+               public Quark get_name_quark ();
                public unowned string get_nick ();
                public void* get_qdata (Quark quark);
                public void set_qdata (Quark quark, void* data);