AR_MEMORY_ALIGN_UP Macro
Declaration
#define AR_MEMORY_ALIGN_UP(
  Value
)
Parameters
Value

The value to be aligned.

Return Value

Returns the aligned value cast to the SIZE type.

Description

This macro aligns a specified value upward to the nearest memory boundary. The returned value is the smallest integer that is both greater than or equal to the input Value and a multiple of the AR_MEMORY_ALIGNMENT constant.

Version:1.0
Header file:AR_API.h
See also: AR_MEMORY_ALIGNMENT, memory management, SIZE
SpaceShadow documentation