diff options
author | Philipp Stephani <phst@google.com> | 2019-12-23 17:12:56 +0100 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2019-12-23 17:16:10 +0100 |
commit | 94fa7ceb480632fec7dda6d41f63223e4127bd83 (patch) | |
tree | 7ac195f5d9bc1c347ba4841c396727c2954a3928 /src/emacs-module.h.in | |
parent | 64fe67beff937fe6279f073dcfe28b15a2a811f9 (diff) | |
download | emacs-94fa7ceb480632fec7dda6d41f63223e4127bd83.tar.gz |
Make argument names in module interface more consistent.
Previously, the names of arguments and other details were needlessly
inconsistent between the documentation, the declarations, and the
definitions, as well as between each other. This commit makes them
more consistent, in most cases by applying the names from the
documentation everywhere.
* src/module-env-27.h:
* src/module-env-25.h:
* src/emacs-module.h.in:
* src/emacs-module.c (module_get_environment)
(module_make_global_ref, module_free_global_ref)
(module_non_local_exit_get, module_non_local_exit_signal)
(module_make_function, module_funcall, module_type_of)
(module_is_not_nil, module_extract_integer)
(module_extract_float, module_copy_string_contents)
(module_make_string, module_vec_set, module_vec_get)
(module_vec_size, module_extract_time)
(module_assert_runtime):
* doc/lispref/internals.texi (Module Initialization)
(Module Functions, Module Values): Make argument names and some other
details consistent. No functional changes.
Diffstat (limited to 'src/emacs-module.h.in')
-rw-r--r-- | src/emacs-module.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs-module.h.in b/src/emacs-module.h.in index e9d5de495d6..4175240cd09 100644 --- a/src/emacs-module.h.in +++ b/src/emacs-module.h.in @@ -68,7 +68,7 @@ struct emacs_runtime struct emacs_runtime_private *private_members; /* Return an environment pointer. */ - emacs_env *(*get_environment) (struct emacs_runtime *ert) + emacs_env *(*get_environment) (struct emacs_runtime *runtime) EMACS_ATTRIBUTE_NONNULL(1); }; @@ -126,7 +126,7 @@ struct emacs_env_27 }; /* Every module should define a function as follows. */ -extern int emacs_module_init (struct emacs_runtime *ert) +extern int emacs_module_init (struct emacs_runtime *runtime) EMACS_NOEXCEPT EMACS_ATTRIBUTE_NONNULL(1); |