FFI: Honor alignment constraints in `parse-c-struct'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 8 Nov 2010 22:08:48 +0000 (23:08 +0100)
committerLudovic Courtès <ludo@gnu.org>
Thu, 11 Nov 2010 15:41:15 +0000 (16:41 +0100)
commit1f864a1685eac0fd62b4d573ca0ae98c90679e9e
tree90f5af429982c90c7462b68118218ea69f5f23b8
parent8a6b693817d396cb3e421f47edba7221f84e3759
FFI: Honor alignment constraints in `parse-c-struct'.

* module/system/foreign.scm (parse-c-struct): Honor alignment
  constraints for TYPE.

* test-suite/tests/foreign.test ("structs")["alignment constraints
  honored"]: New test.
module/system/foreign.scm
test-suite/tests/foreign.test