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:29:00 +0200

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: p.stephani2@gmail.com,  emacs-devel@gnu.org
> Date: Fri, 27 Nov 2020 13:59:51 +0100
> 
> I'm writing (or trying to write) ELisp bindings for Cap’n Proto[1],
> which is an RPC system along with a data interchange format.  Cap'n
> Proto has (among other things[2]) these two data types:
> 
>   - 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?



reply via email to

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