[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master c2f518c 2/3: Also mark module init function as noex
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master c2f518c 2/3: Also mark module init function as noexcept if possible |
Date: |
Sat, 1 Jul 2017 14:02:38 -0400 (EDT) |
branch: master
commit c2f518cd73834099a67637cd69b4162e0e41f0e5
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
Also mark module init function as noexcept if possible
* src/emacs-module.h.in (emacs_module_init): Mark as noexcept if
possible.
---
src/emacs-module.h.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in
index ec8db61..40b6448 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