[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bytestructures 2.0
From: |
Taylan Kammer |
Subject: |
Bytestructures 2.0 |
Date: |
Fri, 25 Feb 2022 21:57:39 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
Hi Guix,
I've just sent a patch (to guix-patches) that updates bytestructures to
version 2.0.1.
The bump in major version is due to a small API change:
The indexing semantics of bs:pointer would previously implicitly dereference
the pointer when any index other than '* was provided, whereas in this version
the dereference must be explicit, and can be '* or an integer that represents
an offset from the pointer address a la *(ptr + i) in C.
Since the change is for such a niche use-case, I thought that creating a
separate bytestructures-2.0 package would be overkill.
After updating, I've built all packages in Guix that I could detect which
depend on guile-bytestructures. All those that had a test suite, passed it.
Some did not have a test suite.
(Interestingly, guile-wiredtiger was failing to build even before the
update, because it needed to depend on guile2.2-bytestructures since it
depends on guile-2.2. I've sent an according patch as well.)
If you're the maintainer of a package that uses bytestructures and have an
issue with which you need assistance, feel free to send me a private mail
as sometimes I end up only skimming the Guix ML.
--
Taylan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bytestructures 2.0,
Taylan Kammer <=