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

Go to the source code of this file.

Functions

void * max_pq_pop (t_max_pq *pq)
 Removes and returns the largest key in this queue. More...
 

Function Documentation

◆ max_pq_pop()

void* max_pq_pop ( t_max_pq pq)

Removes and returns the largest key in this queue.

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

Definition at line 38 of file max_pq_pop.c.