Function

GLib-2.0GLibref_count_decSince 2.58

  • Decreases the reference count.

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

    Parameters

    • rc: number

      the address of a reference count variable

    Returns [boolean, number]

    true if the reference count reached 0, and false otherwise

    2.58