macro_rules! emoji_functions {
(
$($name:ident ($t:ident) $b:block),+
) => { ... };
}
Expand description
Shorthand for defining functions compatible with the linking table, and an accompanying linking table.
Example:
emoji_functions!(
hello_world(thread) {
println!("Hello from Rust!");
thread.return_from_function();
}
);