diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-07-25 12:41:08 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-07-25 14:43:45 +0200 |
commit | 573b4c1ff3409fb4417ec676091f6bbc09219f19 (patch) | |
tree | eb4d7adfc12ff49c968e9c86fbfb10224cd8ecc3 /tests/publish.scm | |
parent | 3ca337699a2feb2a42f3661b7321a5e7d5fec594 (diff) | |
download | patches-573b4c1ff3409fb4417ec676091f6bbc09219f19.tar patches-573b4c1ff3409fb4417ec676091f6bbc09219f19.tar.gz |
syscalls: 'define-c-struct' properly align reads.
* guix/build/syscalls.scm (alignof*, align): New macros.
(write-types, read-types): Use 'align' to compute the actual offset to
read/write a value of TYPE0.
Diffstat (limited to 'tests/publish.scm')
0 files changed, 0 insertions, 0 deletions