data_structures
Functions
min_pq_pop.c File Reference
#include "min_pq.h"
+ Include dependency graph for min_pq_pop.c:

Go to the source code of this file.

Functions

void * min_pq_pop (t_min_pq *pq)
 Removes and returns the smallest key in this queue. More...
 

Function Documentation

◆ min_pq_pop()

void* min_pq_pop ( t_min_pq pq)

Removes and returns the smallest key in this queue.

Returns
The smallest item in the queue, or NULL if the array is empty.

Definition at line 38 of file min_pq_pop.c.