Function

GLibatomic_rc_box_acquire

Declaration [src]

gpointer
g_atomic_rc_box_acquire (
  gpointer mem_block
)

Description [src]

Atomically acquires a reference on the data pointed by mem_block.

Available since:2.58

Parameters

mem_block gpointer
 

A pointer to reference counted data.

Return value

Returns: gpointer
 

A pointer to the data, with its reference count increased.