Counterpart to g_once_init_enter_pointer(). Expects a location of a static
NULL-initialized initialization variable, and an initialization value
other than NULL. Sets the variable to the initialization value, and
releases concurrent threads blocking in g_once_init_enter_pointer() on this
initialization variable.
This functions behaves in the same way as g_once_init_leave(), but
can be used to initialize pointers (or guintptr) instead of gsize.
Parameters
location: any
location of a static initializable variable containing NULL
Counterpart to
g_once_init_enter_pointer(). Expects a location of a staticNULL-initialized initialization variable, and an initialization value other thanNULL. Sets the variable to the initialization value, and releases concurrent threads blocking ing_once_init_enter_pointer()on this initialization variable.This functions behaves in the same way as
g_once_init_leave(), but can be used to initialize pointers (orguintptr) instead ofgsize.