diff options
author | Philipp Stephani <phst@google.com> | 2017-07-01 19:58:57 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2017-07-01 20:02:24 +0200 |
commit | c2f518cd73834099a67637cd69b4162e0e41f0e5 (patch) | |
tree | 9574569d01359795c8e13f61da057ad85d9fe396 /src/emacs-module.h.in | |
parent | 0489f2ca5a01445d3abb39aea18d54257fedd5f1 (diff) | |
download | emacs-c2f518cd73834099a67637cd69b4162e0e41f0e5.tar.gz emacs-c2f518cd73834099a67637cd69b4162e0e41f0e5.tar.bz2 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/emacs-module.h.in')
-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 /* Every module should define a function as follows. */ extern int emacs_module_init (struct emacs_runtime *ert) + EMACS_NOEXCEPT EMACS_ATTRIBUTE_NONNULL(1); #ifdef __cplusplus |