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 15:32:04 +0200

> Date: Fri, 27 Nov 2020 15:29:00 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: p.stephani2@gmail.com, emacs-devel@gnu.org
> 
> >   - Text: is always UTF-8 encoded and NUL-terminated.
> >   - Data: is a completely arbitrary sequence of bytes.
> > 
> > My plan is to map Text to Elisp (multibyte)strings and Data to unibyte
> > strings.
> 
> Doesn't it work to create a unibyte string in Lisp and then pass it to
> the module?

Sorry, you are right: that doesn't work.

So you'd need to use vectors instead.



reply via email to

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