Commit d0e07e0e authored by Paul Eggert's avatar Paul Eggert
Browse files

Declare emacs_module_init in the module API

* src/emacs-module.h (emacs_module_init): New decl.
Without it, GCC might complain about a module that defines
emacs_module_init without using it.  This also checks the
API better.
parent 39d13206
......@@ -196,6 +196,9 @@ struct emacs_env_25
ptrdiff_t (*vec_size) (emacs_env *env, emacs_value vec);
/* Every module should define a function as follows. */
extern int emacs_module_init (struct emacs_runtime *ert);
#ifdef __cplusplus
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment