Struct field alignment

I am creating a struct which is intended to be passed to C library function using ccall.
The C definition uses an alignment attribute.
I can use the @calign macro from the CBinding package, but this involves some unwanted complications.
Is there a way to specify the alignment without this package?

1 Like