Function

GLibref_count_init

since: 2.58

Declaration [src]

void
g_ref_count_init (
  grefcount* rc
)

Description [src]

Initializes a reference count variable to 1.

Available since: 2.58

Parameters

rc

Type: grefcount*

The address of a reference count variable.

The data is owned by the caller of the function.