summary refs log tree commit diff
path: root/tests/syscalls.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-25 12:41:08 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-25 14:43:45 +0200
commit573b4c1ff3409fb4417ec676091f6bbc09219f19 (patch)
treeeb4d7adfc12ff49c968e9c86fbfb10224cd8ecc3 /tests/syscalls.scm
parent3ca337699a2feb2a42f3661b7321a5e7d5fec594 (diff)
downloadguix-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/syscalls.scm')
0 files changed, 0 insertions, 0 deletions