[][src]Macro llama::symbol

macro_rules! symbol {
    ($($name:ident),*) => { ... };
    ($($name:ident : $path:path),*) => { ... };
}

Add symbols to the global namespace

There are a few ways to use this macro:

  1. symbol!(foo, bar): adds symbols for foo and bar in the local namespace, this is particularly useful for adding symbols for C functions
  2. symbol!(foo: something::my_foo): adds a symbol for foo which maps to the rust function something::my_foo