[vala/staging] glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46



commit 0e9f3794a6c1e01d4f6fc9d7fb62334d37d15b02
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sun Mar 8 10:41:16 2020 +0100

    glib-2.0: Memory profiling ("g_mem_*") is deprecated since 2.46

 vapi/glib-2.0.vapi | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index 255f0834a..be4b2c19d 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -2395,10 +2395,15 @@ namespace GLib {
        public class MemVTable {
        }
 
+       [Version (deprecated_since = "2.46")]
        [CCode (cname = "glib_mem_profiler_table")]
        public static MemVTable mem_profiler_table;
 
+       [Version (deprecated_since = "2.46")]
+       public static bool mem_is_system_malloc ();
+       [Version (deprecated_since = "2.46")]
        public static void mem_set_vtable (MemVTable vtable);
+       [Version (deprecated_since = "2.46")]
        public static void mem_profile ();
 
        [CCode (cheader_filename = "string.h")]


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