Macro libyml::QUEUE_EMPTY

source ·
macro_rules! QUEUE_EMPTY {
    ($queue:expr) => { ... };
}
Expand description

Checks if the queue is empty.

§Parameters

  • queue: A mutable reference to the queue to be checked.

§Return

  • true if the queue is empty, i.e., the head and tail pointers are equal.
  • false if the queue is not empty, i.e., the head and tail pointers are not equal.