Function
GLibatomic_rc_box_acquire
since: 2.58
Declaration [src]
gpointer
g_atomic_rc_box_acquire(
gpointermem_block
)
Description [src]
Atomically acquires a reference on the data pointed by mem_block.
Available since: 2.58
Parameters
mem_block-
Type:
gpointerA pointer to reference counted data.
The data is owned by the caller of the function.
Return value
Type: gpointer
A pointer to the data, with its reference count increased.
The caller of the function takes ownership of the data, and is responsible for freeing it.