]> code.delx.au - gnu-emacs/blobdiff - src/emacs-module.c
Merge from origin/emacs-25
[gnu-emacs] / src / emacs-module.c
index 1fec6d10a999fc4ef6504ffc6cdd9b8892532754..a459ab84cf573fd26a804a7017fa77e922211d34 100644 (file)
@@ -64,6 +64,13 @@ enum
         && INTPTR_MAX == EMACS_INT_MAX)
   };
 
+/* Function prototype for the module init function.  */
+typedef int (*emacs_init_function) (struct emacs_runtime *);
+
+/* Function prototype for the module Lisp functions.  */
+typedef emacs_value (*emacs_subr) (emacs_env *, ptrdiff_t,
+                                  emacs_value [], void *);
+
 /* Function prototype for module user-pointer finalizers.  These
    should not throw C++ exceptions, so emacs-module.h declares the
    corresponding interfaces with EMACS_NOEXCEPT.  There is only C code