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

Removes a specific node from the priority queue. Complexity: O(log(n)) After removing a node (using either _remove or _pop), the backpointer set at push_ref time is set to a sentinel value. If this sentinel value is passed to aws_priority_queue_remove, AWS_ERROR_PRIORITY_QUEUE_BAD_NODE will be raised. Note, however, that passing uninitialized aws_priority_queue_nodes, or ones from different priority queues, results in undefined behavior.