vector.c
9.54 KB
-
vector, pqueue: add git_vector_reverse and git_pqueue_reverse · 0bd43371
This is a convenience function to reverse the contents of a vector and a pqueue in-place. The pqueue function is useful in the case where we're treating it as a LIFO queue.
Carlos Martín Nieto committed