summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-04-25 16:47:23 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-25 23:27:09 +0200
commit785cfa8791b0d683830245f119ee6fd42e5356d3 (patch)
tree5b6046a7d3b2e488b3dc3a5bfe2f780a494309e7 /tests
parentf77863a09eebf65299e734d27f1c5b96e9742f52 (diff)
downloadguix-785cfa8791b0d683830245f119ee6fd42e5356d3.tar.gz
syscalls: 'define-c-struct' computes the struct size.
* guix/build/syscalls.scm (struct-alignment, struct-size): New macros.
(define-c-struct): Add 'size' parameter and honor it.
(sockaddr-in, sockaddr-in6, ifaddrs, winsize): Adjust accordingly.
(%struct-ifaddrs-type, %sizeof-ifaddrs, winsize-struct): Remove.
(terminal-window-size): Use 'make-bytevector' instead of 'make-c-struct'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions