Method
GLibPrivatereplace
since: 2.32
Declaration [src]
void
g_private_replace (
GPrivate* key,
gpointer value
)
Description [src]
Sets the thread local variable key to have the value value in the
current thread.
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.
Available since: 2.32