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



commit 0e95d471d5ff7c97f662969f71306a193e4eb677
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 466c07817..ede9b8d3f 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2489,23 +2489,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]