Private.set

Sets the pointer keyed to private_key for the current thread. This function can be used even if g_thread_init() has not yet been called, and, in that case, will set private_key to data casted to GPrivate*. See g_private_get() for resulting caveats.

class Private
void
set
(
void* data
)

Parameters

data void*

the new pointer.

Meta