diff options
author | Philipp Stephani <phst@google.com> | 2017-06-17 19:12:45 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-06-17 19:16:14 +0200 |
commit | c66a7cce17ac4b9cde6bf49232aaa59c1c73404e (patch) | |
tree | 8278ec5544496274ef7c85936c3ee5fa4c9ee93c /src/module-env-26.h | |
parent | f8cc7a83006e520e6dce3c64df6dca010624299f (diff) | |
download | emacs-c66a7cce17ac4b9cde6bf49232aaa59c1c73404e.tar.gz emacs-c66a7cce17ac4b9cde6bf49232aaa59c1c73404e.tar.bz2 emacs-c66a7cce17ac4b9cde6bf49232aaa59c1c73404e.zip |
emacs-module.h: Create emacs_env_26
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.
Diffstat (limited to 'src/module-env-26.h')
-rw-r--r-- | src/module-env-26.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/module-env-26.h b/src/module-env-26.h new file mode 100644 index 00000000000..1ab12d45c84 --- /dev/null +++ b/src/module-env-26.h @@ -0,0 +1,3 @@ + /* Returns whether a quit is pending. */ + bool (*should_quit) (emacs_env *env) + EMACS_ATTRIBUTE_NONNULL(1); |