diff options
| author | Philipp Stephani | 2017-07-01 19:58:57 +0200 |
|---|---|---|
| committer | Philipp Stephani | 2017-07-01 20:02:24 +0200 |
| commit | c2f518cd73834099a67637cd69b4162e0e41f0e5 (patch) | |
| tree | 9574569d01359795c8e13f61da057ad85d9fe396 /src | |
| parent | 0489f2ca5a01445d3abb39aea18d54257fedd5f1 (diff) | |
| download | emacs-c2f518cd73834099a67637cd69b4162e0e41f0e5.tar.gz emacs-c2f518cd73834099a67637cd69b4162e0e41f0e5.zip | |
Also mark module init function as noexcept if possible
* src/emacs-module.h.in (emacs_module_init): Mark as noexcept if
possible.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs-module.h.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in index ec8db61f069..40b6448d27e 100644 --- a/src/emacs-module.h.in +++ b/src/emacs-module.h.in | |||
| @@ -97,6 +97,7 @@ struct emacs_env_26 | |||
| 97 | 97 | ||
| 98 | /* Every module should define a function as follows. */ | 98 | /* Every module should define a function as follows. */ |
| 99 | extern int emacs_module_init (struct emacs_runtime *ert) | 99 | extern int emacs_module_init (struct emacs_runtime *ert) |
| 100 | EMACS_NOEXCEPT | ||
| 100 | EMACS_ATTRIBUTE_NONNULL(1); | 101 | EMACS_ATTRIBUTE_NONNULL(1); |
| 101 | 102 | ||
| 102 | #ifdef __cplusplus | 103 | #ifdef __cplusplus |