]> git.eshelyaron.com Git - emacs.git/commit
Use utf-8-unix for coding system conversions in the module API.
authorPhilipp Stephani <phst@google.com>
Mon, 22 Apr 2019 13:39:39 +0000 (15:39 +0200)
committerPhilipp Stephani <phst@google.com>
Mon, 22 Apr 2019 13:44:37 +0000 (15:44 +0200)
commitca3ad9746da5ced05e8fd692731ffe4dcb52d7e8
tree977b3f87a4c517ac0b850e50eed0e754ebb9ad0e
parent4430a9b54fca266e48d0eb8b72d83706910f10b8
Use utf-8-unix for coding system conversions in the module API.

Factor out conversions into helper functions to provide a simpler
interface.

* src/emacs-module.c (module_encode, module_decode_copy): New helper
functions.
(module_make_function, module_copy_string_contents)
(module_make_string): Use them.
src/emacs-module.c