[−][src]Macro emacs::module_init
Deprecated since 0.11.0:
Please use #[emacs::module]
instead
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>
.