Macro for_each_abi

Source
macro_rules! for_each_abi {
    ($callback: expr, $ink_abi: expr, $sol_abi: expr) => { ... };
    (@tokens $callback: expr) => { ... };
    (@type $callback: expr) => { ... };
}
Expand description

Calls the given callback function once for each enabled ABI.

ยงNote

The ABI is passed to the callback function as an argument. The argument value can be either as an ink_primitives::abi::Abi variant, or tokens for ::ink::abi::Ink or ::ink::abi::Sol.