emacs-devel
[Top][All Lists]
Advanced

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

Re: Some dynamic module questions


From: Stefan Monnier
Subject: Re: Some dynamic module questions
Date: Thu, 03 Dec 2020 10:13:47 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I agree that there should be a copy_unibyte_string_contents as well.

An alternative would be to have a function like `copy_string_contents`
which either returns bytes or a utf-8-encoded sequence of chars
depending on whether the string was unibyte or not, and where it
additionally returns an indication of which was the case.


        Stefan




reply via email to

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