refCountDec

fnbool refCountDec(ref int rc)

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 [glib.global.refCountInit] to be used again.

Parameters

rcthe address of a reference count variable

Returns

true if the reference count reached 0, and false otherwise