[vala/0.36] glib-2.0: Don't annotate dedicated GLib.assert_*() functions with [Assert]



commit 06a7ba023cb8095dd31bc1f80d8bf35f061742a6
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Tue Mar 19 09:53:45 2019 +0100

    glib-2.0: Don't annotate dedicated GLib.assert_*() functions with [Assert]
    
    Fixes https://gitlab.gnome.org/GNOME/vala/issues/769

 vapi/glib-2.0.vapi | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index fbf9c26fd..5ff382126 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2415,23 +2415,16 @@ namespace GLib {
 
        [Assert]
        public static void assert (bool expr);
-       [Assert]
        [Version (since = "2.46")]
        public static void assert_cmpmem (uint8[] m1, uint8[] m2);
-       [Assert]
        public static void assert_error (Error? error, Quark error_domain, int error_code);
-       [Assert]
        [Version (since = "2.38")]
        public static void assert_false (bool expr);
-       [Assert]
        [Version (since = "2.38")]
        public static void assert_true (bool expr);
-       [Assert]
        [Version (since = "2.38")]
        public static void assert_null (void* expr);
-       [Assert]
        public static void assert_no_error (Error? error);
-       [Assert]
        [Version (since = "2.40")]
        public static void assert_nonnull (void* expr);
        [NoReturn]


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