pub unsafe extern "C" fn aws_priority_queue_top(
    queue: *const aws_priority_queue,
    item: *mut *mut c_void
) -> c_int
Expand description

Obtains a pointer to the element of the highest priority. Complexity: constant time. If queue is empty, AWS_ERROR_PRIORITY_QUEUE_EMPTY will be raised.