Skip to content

Align

Return aligned version of an address

Declaration

Source position: systemh.inc line 922

  function Align(Addr: PtrUInt; Alignment: PtrUInt) : PtrUInt;
  function Align(Addr: Pointer; Alignment: PtrUInt) : Pointer;

Description

Align returns Address, aligned to Alignment bytes.

Errors

None.