Function renaming and moving.
This commit is contained in:
6 files changed
+48
-47
No files matched your search
+6
-6
@@ -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
|
||||
Reference in new issue
Block a user