[][src]Macro emacs::module_init

macro_rules! module_init {
    ($init:ident) => { ... };
}

Registers a function as the initialization hook. #[module] is preferred over this low-level interface.

This declares emacs_module_init and emacs_rs_module_init, by wrapping the given function, whose signature must be fn(&Env) -> Result<Value>.