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

Go to the source code of this file.

Functions

t_queuequeue_new (const t_type *type)
 Allocates memory and initializes an empty queue. More...
 

Function Documentation

◆ queue_new()

t_queue* queue_new ( const t_type type)

Allocates memory and initializes an empty queue.

Parameters
thetype of items that this queue will hold
Returns
The new queue

Definition at line 16 of file queue_new.c.