aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorPhilipp Stephani2019-04-22 15:43:52 +0200
committerPhilipp Stephani2019-04-22 15:44:37 +0200
commitf9659e648cd06a9322b501168b1af8ede7d1ae16 (patch)
tree78d556c9123a6b16417df082351a0b2cdb9019d1 /src/coding.c
parentca3ad9746da5ced05e8fd692731ffe4dcb52d7e8 (diff)
downloademacs-f9659e648cd06a9322b501168b1af8ede7d1ae16.tar.gz
emacs-f9659e648cd06a9322b501168b1af8ede7d1ae16.zip
Module API: Don’t require null-terminated strings in make_string.
* emacs-module.c (module_make_string): Use make_unibyte_string, which doesn’t require its argument to be null-terminated. Since it always returns a heap-allocated string, we don’t have to copy it any more while decoding. (module_decode): New helper function.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions