[glib] gmem: Make it more obvious that g_mem_set_vtable() does nothing



commit 81d7af312ebe5e1eb21ef88084ac38cfd84576c4
Author: Philip Withnall <withnall endlessm com>
Date:   Tue Oct 3 09:36:08 2017 +0100

    gmem: Make it more obvious that g_mem_set_vtable() does nothing
    
    Clarify the big deprecation warning in the documentation.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 glib/gmem.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/glib/gmem.c b/glib/gmem.c
index aa981de..0140d4b 100644
--- a/glib/gmem.c
+++ b/glib/gmem.c
@@ -475,7 +475,8 @@ g_mem_is_system_malloc (void)
  * in GLib and GIO, because those use the GLib allocators before main is
  * reached. Therefore this function is now deprecated and is just a stub.
  *
- * Deprecated: 2.46: Use other memory profiling tools instead
+ * Deprecated: 2.46: This function now does nothing. Use other memory
+ * profiling tools instead
  */
 void
 g_mem_set_vtable (GMemVTable *vtable)


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