[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Some dynamic module questions
From: |
Zhu Zihao |
Subject: |
Re: Some dynamic module questions |
Date: |
Fri, 27 Nov 2020 20:17:59 +0800 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Helmut Eller writes:
> 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.
unibytes string are actually vector of u8. you can convert to vector(use
vconcat from Lisp side)
first then read it using vec_get and vec_set.
--
Retrieve my PGP public key: https://meta.sr.ht/~citreu.pgp
Zihao
signature.asc
Description: PGP signature
- Some dynamic module questions, Helmut Eller, 2020/11/27
- Re: Some dynamic module questions, Philipp Stephani, 2020/11/27
- Re: Some dynamic module questions, Helmut Eller, 2020/11/27
- Re: Some dynamic module questions,
Zhu Zihao <=
- Re: Some dynamic module questions, Helmut Eller, 2020/11/27
- Re: Some dynamic module questions, Eli Zaretskii, 2020/11/27
- Re: Some dynamic module questions, Helmut Eller, 2020/11/27
- Re: Some dynamic module questions, Eli Zaretskii, 2020/11/27
- Re: Some dynamic module questions, Eli Zaretskii, 2020/11/27
- Re: Some dynamic module questions, Vasilij Schneidermann, 2020/11/27
- Re: Some dynamic module questions, Eli Zaretskii, 2020/11/27
- Re: Some dynamic module questions, Vasilij Schneidermann, 2020/11/27
- Re: Some dynamic module questions, Eli Zaretskii, 2020/11/27
- Re: Some dynamic module questions, Stefan Monnier, 2020/11/27