Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

#define RT_ALIGN_T ( u,
type   )     ( ((type)(u) + ((uAlignment) - 1)) & ~(type)((uAlignment) - 1) )

Align macro.

u Value to align.
uAlignment The alignment. Power of two!
type Integer type to use while aligning.
This macro is the prefered alignment macro, it doesn't have any of the pitfalls RT_ALIGN has.

Definition at line 822 of file cdefs.h.

Referenced by mmR3HyperInit(), and Open().

Generated by  Doxygen 1.6.0   Back to index