]> git.eshelyaron.com Git - emacs.git/commit
Fix a recent change in coding.c
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Aug 2019 08:08:11 +0000 (11:08 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Aug 2019 08:08:11 +0000 (11:08 +0300)
commit543ae99fe8cf21a00087ace878dbec909546476b
treea7812187d3f02c8f6858ea2e257411da16465cc4
parent26703b98f93ff6e0819e43b872bfe63f8753dfcb
Fix a recent change in coding.c

This partially reverts the changes in "extern function cleanup".
* src/coding.c (encode_string_utf_8, decode_string_utf_8): Now
extern again.  They should NOT be static, as they are intended
to be used by the likes of json.c, where we need
highly-optimized code for processing UTF-8 strings.  E.g.,
decode_string_utf_8 beats make_string_from_utf8 by a factor of
2 to 5 in a large number of scenarios.
src/coding.c
src/coding.h