API Version: 2.0
Library Version: 2.81.0
Generated by gi-docgen 2023.1
void g_private_set ( 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_replace() in the following way: the GDestroyNotify for key is not called on the old value.
g_private_replace()
GDestroyNotify
Type: gpointer
gpointer
The new value.
NULL