Macro total_space::declare_agent_index[][src]

macro_rules! declare_agent_index {
    ($name:ident) => { ... };
}

A macro for declaring a global variable containing singleton agent index.

Usage is declare_agent_index! { NAME }. It declares a global variable named NAME to hold the agent index of the singleton instance of some agent type.