Added constructor to queue

This commit is contained in:
2022-08-17 01:41:19 -05:00
parent 5b959c9763
commit bbf2325a60
2 changed files with 14 additions and 0 deletions

View File

@@ -27,6 +27,13 @@ struct queue_t
struct queue_node_t *last;
};
/**
* @brief Initializes a queue structure.
*
* @param queue
*/
void queue_construct(struct queue_t *queue);
/**
* @brief Inserts a new item at the end of the queue.
*