CARB_ALIGN#
Defined in carb/Defines.h
- 
CARB_ALIGN(x, alignment)#
 Aligns a number or pointer to the next multiple of a provided alignment.
Note
The alignment need not be a power-of-two.
- Parameters:
 x – The pointer or value to align
alignment – The alignment value in bytes.
- Returns:
 If
xis already aligned toalignment, returnsx; otherwise returnsxrounded up to the next multiple ofalignment.