macro_rules! ENQUEUE { (do $queue:expr, $enqueue:expr) => { ... }; ($queue:expr, *$value:expr) => { ... }; ($queue:expr, $value:expr) => { ... }; }
Expand description
Enqueues a value onto the queue.
This macro enqueues a value onto the queue. If the queue is full, it extends the queue by allocating additional memory.
§Parameters
queue
: A mutable reference to the queue onto which the value will be enqueued.value
: The value to be enqueued onto the queue. This can be a reference or a direct value.
§Return
This macro does not return a value. It enqueues the value onto the queue.