[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34873: 27.0.50; Creating unibyte string in emacs modules
From: |
Philipp Stephani |
Subject: |
bug#34873: 27.0.50; Creating unibyte string in emacs modules |
Date: |
Tue, 13 Oct 2020 16:31:43 +0200 |
Am Di., 13. Okt. 2020 um 06:53 Uhr schrieb Lars Ingebrigtsen <larsi@gnus.org>:
>
> Evgeny Zajcev <lg.zevlg@gmail.com> writes:
>
> > There is no possibility to create unibyte strings from emacs modules
> > in order to create some binary data representation
>
> There was some discussion about what the meaning of "is" is that
> followed, but the general idea seems sensible -- if modules are to be
> able to pass binary data to Emacs efficiently, something like this is
> needed, so I've now added this to Emacs 28 in the form of
> make_unibyte_string.
>
Thanks. However, you need to add it properly to maintain backward
compatibility; see the comments at the top of emacs-module.c.