Macro mond::lua_func [] [src]

macro_rules! lua_func {
    ($func:path) => { ... };
}

Wrap a fn(&mut State) -> u32 as an ffi-suitable Function. The argument must be a path, so that the specific fn is known at compile-time.