lilypond-devel
[Top][All Lists]
Advanced

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

Re: Reading files as byte array


From: Valentin Petzel
Subject: Re: Reading files as byte array
Date: Mon, 06 Sep 2021 22:07:22 +0200

Thank you so much!
That does the trick!

Am Montag, 6. September 2021, 09:58:15 CEST schrieb Han-Wen Nienhuys:
> On Mon, Sep 6, 2021 at 12:41 AM Lukas-Fabian Moser <lfm@gmx.de> wrote:
> > >>> Would it be considered okay if we included a scheme function to read a
> > >>> binary file to a byte array?
> > >> 
> > >> GUILE already supports this out of the box. Have you seen
> > >> 
> > >> https://www.gnu.org/software/guile/manual/html_node/Binary-I_002fO.html
> > >> 
> > >> ?
> > > 
> > > Yes, of course GUILE supports this. But the problem is that this does
> > > not go through Lilypond’s path handling. So I really do not think this
> > > would be a good thing to use (of course one can use that internally,
> > > but I’m talking about a Lilypond friendly interface).
> > 
> > Just from comparing those statements: Would it be reasonable (and maybe
> > generally useful) to make global_path.find (used in gulp_file_to_string,
> > lily-guile.cc) available at scheme level?
> 
> see ly:find-file.

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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