refCountDec

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.

bool
refCountDec
(
ref int rc
)

Parameters

rc int

the address of a reference count variable

Return Value

Type: bool

true if the reference count reached 0, and false otherwise