Function renaming and moving.

This commit is contained in:
metallaxis committed 2026-05-07 10:14:38 +03:00
1 parent e3239bf564
commit 77631299b8
6 files changed
+48 -47

No files matched your search

+6 -6
View File
@@ -8,34 +8,34 @@
* @brief Initializes the queue with a maximum number of elements
* @param max_elements The maximum number of elements the queue can hold
*/
void q_init(int max_elements);
void queue_init(int max_elements);
/**
* @brief Pushes a node into the queue
* @param n The node to push into the queue
*/
void q_push(Node* n);
void queue_push(Node* n);
/**
* @brief Returns the node from the front of the queue
* @return The node from the front of the queue
*/
Node* q_pop();
Node* queue_pop();
/**
* @brief Returns the current size of the queue
* @return The current size of the queue
*/
int q_size();
int queue_size();
/**
* @brief Clears the queue without freeing memory
*/
void q_clear();
void queue_clear();
/**
* @brief Reset the queue memory
*/
void q_destroy();
void queue_destroy();
#endif