emacs-devel
[Top][All Lists]
Advanced

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

Re: Some dynamic module questions


From: Helmut Eller
Subject: Re: Some dynamic module questions
Date: Fri, 27 Nov 2020 13:01:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Fri, Nov 27 2020, Philipp Stephani wrote:

> Am Fr., 27. Nov. 2020 um 11:47 Uhr schrieb Helmut Eller
> <eller.helmut@gmail.com>:
>>
>> 1. Is there some way to pass unibyte-strings to module functions?
>
> 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?  Will there be something like copy_unibyte_string_contents?
Or preferably something that doesn't need copying and just gives a const
char* pointer to the bytes.

Helmut



reply via email to

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