At Mon, 6 May 2019 07:39:22 -0700 (PDT), Андрей Кравчук wrote: > I'm writing bindings for C library that contains some struct declared > with __attribute__((packed)). How do I mirror such struct in the bindings? > I wasn't been able to find any reference to packed structs in FFI > documentation.
Use `#:alignment 1` in `define-cstruct`. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.