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>
This commit is contained in:
Philip Withnall 2017-10-03 09:36:08 +01:00
parent 2afcf6c393
commit 81d7af312e

View File

@ -475,7 +475,8 @@ g_mem_is_system_malloc (void)
* in GLib and GIO, because those use the GLib allocators before main is * 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. * 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 void
g_mem_set_vtable (GMemVTable *vtable) g_mem_set_vtable (GMemVTable *vtable)