Function

GLibatomic_ref_count_init

Declaration

void
g_atomic_ref_count_init (
  gatomicrefcount* arc
)

Description

Initializes a reference count variable to 1.

Available since:2.58

Parameters

arc gatomicrefcount*
 

The address of an atomic reference count variable.

 The data is owned by the caller of the function.