emacs-devel
[Top][All Lists]
Advanced

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

Re: Some dynamic module questions


From: Eli Zaretskii
Subject: Re: Some dynamic module questions
Date: Fri, 27 Nov 2020 14:47:52 +0200

> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Fri, 27 Nov 2020 13:01:55 +0100
> Cc: Emacs developers <emacs-devel@gnu.org>
> 
> > Emacs 28 will have a make_unibyte_string function. Before that, you
> > have to resort to calling the unibyte-string function directly.
> 
> But that's only for passing bytes from C to Lisp.  What about the other
> direction?

Why do you need that?  The concept of unibyte vs multibyte strings
exists only in Lisp; in C you just have a sequence of 'char' bytes,
and the way you interpret it depends on your C code.

If you have some specific use case where this looks like a necessity,
can you describe that use case?



reply via email to

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