id_uses_clock


Description:

[ Version ( since = "1.16" ) ]
public static bool id_uses_clock (ClockID id, Clock clock)

This function returns whether id uses clock as the underlying clock.

clock can be NULL, in which case the return value indicates whether the underlying clock has been freed. If this is the case, the id is no longer usable and should be freed.

Parameters:

id

a ClockID to check

clock

a Clock to compare against

Returns:

whether the clock id uses the same underlying Clock clock.