Macro libyml::QUEUE_INIT

source ·
macro_rules! QUEUE_INIT {
    ($queue:expr, $type:ty) => { ... };
}
Expand description

Initializes a queue with a specified type and allocates memory for it.

§Parameters

  • queue: A mutable reference to the queue to be initialized.
  • type: The type of elements that will be stored in the queue.

§Return

This function does not return a value. It initializes the queue with the given type and allocates memory for it.