[−][src]Macro emacs::module_init
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>
.
[#[module]
]: /emacs-macros/*/emacs_macros/attr.module.html