emacs-module.h: Create emacs_env_26
commitc66a7cce17ac4b9cde6bf49232aaa59c1c73404e
authorPhilipp Stephani <phst@google.com>
Sat, 17 Jun 2017 17:12:45 +0000 (17 19:12 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 17 Jun 2017 17:16:14 +0000 (17 19:16 +0200)
tree8278ec5544496274ef7c85936c3ee5fa4c9ee93c
parentf8cc7a83006e520e6dce3c64df6dca010624299f
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.
.gitignore
configure.ac
src/emacs-module.h.in [new file with mode: 0644]
src/module-env-25.h [moved from src/emacs-module.h with 62% similarity]
src/module-env-26.h [new file with mode: 0644]