diff options
| author | Philipp Stephani | 2019-12-23 22:00:01 +0100 |
|---|---|---|
| committer | Philipp Stephani | 2019-12-24 01:08:16 +0100 |
| commit | 5617c82b37b9fb37f9279347b05782718dc331b6 (patch) | |
| tree | 9235d6c3c7201ce83d6590eb02a93794974198da /src | |
| parent | 232a36f17e2796c52cb0b1afd5872c454b92ce62 (diff) | |
| download | emacs-5617c82b37b9fb37f9279347b05782718dc331b6.tar.gz emacs-5617c82b37b9fb37f9279347b05782718dc331b6.zip | |
Prepare module header generation for Emacs 28.
* configure.ac: Substitute environment function snippet for Emacs 28.
* src/module-env-28.h: New file, with dummy contents for now.
* src/emacs-module.h.in: Provide emacs_env_28 structure.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs-module.h.in | 11 | ||||
| -rw-r--r-- | src/module-env-28.h | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in index f12eedbfbea..a4312730143 100644 --- a/src/emacs-module.h.in +++ b/src/emacs-module.h.in | |||
| @@ -125,6 +125,17 @@ struct emacs_env_27 | |||
| 125 | @module_env_snippet_27@ | 125 | @module_env_snippet_27@ |
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | struct emacs_env_28 | ||
| 129 | { | ||
| 130 | @module_env_snippet_25@ | ||
| 131 | |||
| 132 | @module_env_snippet_26@ | ||
| 133 | |||
| 134 | @module_env_snippet_27@ | ||
| 135 | |||
| 136 | @module_env_snippet_28@ | ||
| 137 | }; | ||
| 138 | |||
| 128 | /* Every module should define a function as follows. */ | 139 | /* Every module should define a function as follows. */ |
| 129 | extern int emacs_module_init (struct emacs_runtime *runtime) | 140 | extern int emacs_module_init (struct emacs_runtime *runtime) |
| 130 | EMACS_NOEXCEPT | 141 | EMACS_NOEXCEPT |
diff --git a/src/module-env-28.h b/src/module-env-28.h new file mode 100644 index 00000000000..dec8704edde --- /dev/null +++ b/src/module-env-28.h | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | /* Add module environment functions newly added in Emacs 28 here. | ||
| 2 | Before Emacs 28 is released, remove this comment and start | ||
| 3 | module-env-29.h on the master branch. */ | ||