nu_realign

Realigns ptr to the next increment of alignment

export extern (C) nothrow @nogc @trusted pure
void*
nu_realign
(
void* ptr
,
size_t alignment
)

Parameters

ptr void*

A pointer

alignment size_t

The alignment to adjust the pointer to.

Return Value

Type: void*

The next aligned pointer.

Meta