summaryrefslogtreecommitdiff
path: root/src/emacs-module.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2019-04-28 17:14:39 +0300
committerEli Zaretskii <eliz@gnu.org>2019-04-28 17:14:39 +0300
commit6b6a6f06b4df9d76ad50294d0b6e88978ffb27d0 (patch)
treeeb6d3c33d20a57caa9cb2430029249b88b1752fa /src/emacs-module.c
parent75ee20364c5ed4c175b13debaa53a2ba14168999 (diff)
downloademacs-6b6a6f06b4df9d76ad50294d0b6e88978ffb27d0.tar.gz
Fix names of functions in last commit
* src/coding.h (build_string_from_utf8): Rename from build_utf8_string. All callers changed. * src/coding.c (make_string_from_utf8): Rename from make_utf8_string. All callers changed.
Diffstat (limited to 'src/emacs-module.c')
-rw-r--r--src/emacs-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emacs-module.c b/src/emacs-module.c
index b9050942559..685bdb8bb4c 100644
--- a/src/emacs-module.c
+++ b/src/emacs-module.c
@@ -530,7 +530,7 @@ module_make_function (emacs_env *env, ptrdiff_t min_arity, ptrdiff_t max_arity,
function->data = data;
if (documentation)
- function->documentation = build_utf8_string (documentation);
+ function->documentation = build_string_from_utf8 (documentation);
Lisp_Object result;
XSET_MODULE_FUNCTION (result, function);
@@ -663,7 +663,7 @@ module_make_string (emacs_env *env, const char *str, ptrdiff_t length)
MODULE_FUNCTION_BEGIN (NULL);
if (! (0 <= length && length <= STRING_BYTES_BOUND))
overflow_error ();
- Lisp_Object lstr = make_utf8_string (str, length);
+ Lisp_Object lstr = make_string_from_utf8 (str, length);
return lisp_to_value (env, lstr);
}