Function Macro
GLibatomic_rc_box_new0
since: 2.58
Declaration [src]
#define g_atomic_rc_box_new0 (
type
)
Description [src]
A convenience macro to allocate atomically reference counted
data with the size of the given type, and set its contents
to zero.
This macro calls g_atomic_rc_box_alloc0() with sizeof (type) and
casts the returned pointer to a pointer of the given type,
avoiding a type cast in the source code.
Available since: 2.58
This function is not directly available to language bindings.