Function

GLibref_count_compare

Declaration [src]

gboolean
g_ref_count_compare (
  grefcount* rc,
  gint val
)

Description [src]

Compares the current value of rc with val.

Available since:2.58

Parameters

rc grefcount*
 

The address of a reference count variable.

 The data is owned by the caller of the function.
val gint
 

The value to compare.

Return value

Returns: gboolean
 

TRUE if the reference count is the same as the given value.