Function

GLib-2.0GLibatomic_ref_count_decSince 2.58

  • Atomically decreases the reference count.

    If true is returned, the reference count reached 0. After this point, arc is an undefined state and must be reinitialized with g_atomic_ref_count_init() to be used again.

    Parameters

    • arc: number

      the address of an atomic reference count variable

    Returns boolean

    true if the reference count reached 0, and false otherwise

    2.58