Macro libyml::PUSH

source ·
macro_rules! PUSH {
    (do $stack:expr, $push:expr) => { ... };
    ($stack:expr, *$value:expr) => { ... };
    ($stack:expr, $value:expr) => { ... };
}
Expand description

Pushes a value onto the stack.

This macro pushes a value onto the stack. If the stack is full, it extends the stack by allocating additional memory.

§Parameters

  • stack: A mutable reference to the stack onto which the value will be pushed.
  • value: The value to be pushed onto the stack.

§Return

This macro does not return a value. It pushes the value onto the stack.