GOnce

A #GOnce struct controls a one-time initialization function. Any one-time initialization function must have its own unique #GOnce struct.

Members

Variables

retval
void* retval;

the value returned by the call to the function, if @status is G_ONCE_STATUS_READY

status
GOnceStatus status;

the status of the #GOnce