diff options
Diffstat (limited to 'src/emacs-module.c')
| -rw-r--r-- | src/emacs-module.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c index 881ee3119de..b5e044e758f 100644 --- a/src/emacs-module.c +++ b/src/emacs-module.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* emacs-module.c - Module loading and runtime implementation | 1 | /* emacs-module.c - Module loading and runtime implementation |
| 2 | 2 | ||
| 3 | Copyright (C) 2015 Free Software Foundation, Inc. | 3 | Copyright (C) 2015-2016 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 6 | 6 | ||
| @@ -65,6 +65,12 @@ enum | |||
| 65 | && INTPTR_MAX == EMACS_INT_MAX) | 65 | && INTPTR_MAX == EMACS_INT_MAX) |
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | /* Function prototype for module user-pointer finalizers. These | ||
| 69 | should not throw C++ exceptions, so emacs-module.h declares the | ||
| 70 | corresponding interfaces with EMACS_NOEXCEPT. There is only C code | ||
| 71 | in this module, though, so this constraint is not enforced here. */ | ||
| 72 | typedef void (*emacs_finalizer_function) (void *); | ||
| 73 | |||
| 68 | 74 | ||
| 69 | /* Private runtime and environment members. */ | 75 | /* Private runtime and environment members. */ |
| 70 | 76 | ||