]> git.eshelyaron.com Git - emacs.git/commit
Allow creating unibyte strings from Emacs modules
authorLars Ingebrigtsen <larsi@gnus.org>
Tue, 13 Oct 2020 04:51:06 +0000 (06:51 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 13 Oct 2020 04:51:06 +0000 (06:51 +0200)
commit12175a339e2a2214fdd0ab4e16d8d8b1e92a78d3
treec68e82a585d8a760b569b536d8951e18166a9d9d
parent45cb0403deeba1cc121147b1884e7fea6cd15338
Allow creating unibyte strings from Emacs modules

* doc/lispref/internals.texi (Module Values): Document
make_unibyte_string (bug#34873).

* src/emacs-module.c (module_make_unibyte_string): New function.
(initialize_environment): Export it.

* src/module-env-25.h: Define it.

* test/data/emacs-module/mod-test.c (Fmod_test_return_unibyte):
Test it.

* test/src/emacs-module-tests.el (module/unibyte): Test it.
doc/lispref/internals.texi
src/emacs-module.c
src/module-env-25.h
test/data/emacs-module/mod-test.c
test/src/emacs-module-tests.el