Macro crabzilla::runtime[][src]

macro_rules! runtime {
    ($($fn:ident),* $(,)?) => { ... };
}

Creates a runtime object and imports a list of functions.

# Example

#[import_fn]
fn foo() {
  // Do something
}

#[import_fn]
fn bar() {
  // Do something else
}

let mut runtime = runtime! {
   foo,
   bar,
 };