mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-25 06:50:46 -08:00
This was part of the original design of the module API (https://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00960.html), but I didn't take it into account when adding the should_quit function. Instead of duplicating the environment fields or using the C preprocessor, use configure to build emacs-module.h. * configure.ac: Expand emacs-module.h template.
3 lines
115 B
C
3 lines
115 B
C
/* Returns whether a quit is pending. */
|
|
bool (*should_quit) (emacs_env *env)
|
|
EMACS_ATTRIBUTE_NONNULL(1);
|