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

#define K_VALIDATE_ENUM ( arg,
enumname   ) 

Value:

do { \
        if ((arg) <= enumname##_INVALID || (arg) >= enumname##_END) \
            return KERR_INVALID_PARAMETER; \
    } while (0)
Return validation of an enum argument.

Definition at line 464 of file kDefs.h.

Referenced by kLdrDyldLoad().


Generated by  Doxygen 1.6.0   Back to index