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

#define RT_VALID_ALIGNED_PTR ( ptr,
align   ) 

Value:

(   !((uintptr_t)(ptr) & (uintptr_t)((align) - 1)) \
     && VALID_PTR(ptr) )
Pointer validation macro that also checks the alignment.
Parameters:
ptr The pointer.
align The alignment, must be a power of two.

Definition at line 1854 of file cdefs.h.


Generated by  Doxygen 1.6.0   Back to index