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

Go to the source code of this file.

Functions

void min_pq_add (t_min_pq *pq, const void *data)
 Adds a copy of the specified element to the queue. More...
 

Function Documentation

◆ min_pq_add()

void min_pq_add ( t_min_pq pq,
const void *  data 
)

Adds a copy of the specified element to the queue.

Parameters
dataThe element to be copied

Definition at line 30 of file min_pq_add.c.