A GOnce struct controls a one-time initialization function. Any
one-time initialization function must have its own unique GOnce
struct.
volatile GOnceStatus status;
the status of the GOnce
volatile gpointer retval;
the value returned by the call to the function, if status
is G_ONCE_STATUS_READY
Since 2.4
A GOnce struct controls a one-time initialization function. Any one-time initialization function must have its own unique GOnce struct. volatile GOnceStatus status; the status of the GOnce volatile gpointer retval; the value returned by the call to the function, if status is G_ONCE_STATUS_READY Since 2.4