bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23487: 25.0.93; Modules: add functionality to create and copy unibyt


From: Eli Zaretskii
Subject: bug#23487: 25.0.93; Modules: add functionality to create and copy unibyte strings
Date: Mon, 09 May 2016 20:22:13 +0300

> From: Philipp Stephani <address@hidden>
> Date: Mon, 09 May 2016 18:45:19 +0200
> 
> Currently creating unibyte strings with the C module API is rather
> convoluted: one has to create a list with the individual bytes and then
> call `unibyte-string', requiring lots of memory allocations.  Given that
> creating a unibyte string is more fundamental than creating a multibyte
> string, I propose adding functions to create and extract unibyte strings
> that exactly mirror the existing support for multibyte strings.

Can you explain why you need to create unibyte strings, or describe a
use case where this would be required?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]