API Version: 2.0
Library Version: 2.81.0
Generated by gi-docgen 2023.1
since: 2.32
void g_private_replace ( GPrivate* key, gpointer value )
Sets the thread local variable key to have the value value in the current thread.
key
value
This function differs from g_private_set() in the following way: if the previous value was non-NULL then the GDestroyNotify handler for key is run on it.
g_private_set()
NULL
GDestroyNotify
Available since: 2.32
Type: gpointer
gpointer
The new value.