refCountCompare

fnbool refCountCompare(ref int rc, int val)

Compares the current value of rc with val.

Parameters

rcthe address of a reference count variable
valthe value to compare

Returns

true if the reference count is the same

as the given value