alignmember

Do byte or word alignment as necessary. Align sizes of 0, as we may not know array sizes yet.

pure nothrow @safe
uint
alignmember
(
structalign_t alignment
,,
uint offset
)

Parameters

alignment structalign_t

struct alignment that is in effect

memalignsize uint

natural alignment of field

offset uint

offset to be aligned

Return Value

Type: uint

aligned offset

Meta