Defines | |
#define | CP_DT_HandleIsPurged(h) ( CP_DT_IS_NULL( *(h) ) ) |
#define | kHStatePurgeableMask 0x40 |
#define | kHStateLockedMask 0x80 |
#define | kHStateResourceMask 0x20 |
#define | CP_DT_HStateIsPurgeable(hState) ( ((hState) & kHStatePurgeableMask) != 0 ) |
#define | CP_DT_HStateIsLocked(hState) ( ((hState) & kHStateLockedMask) != 0 ) |
#define | CP_DT_HStateIsResource(hState) ( ((hState) & kHStateResourceMask) != 0 ) |
#define | CP_DT_MaybeUnusedArg(x) { (x) = (x); } |
#define | kHStatePurgeableMask 0x40 |
#define | kHStateLockedMask 0x80 |
#define | CP_DT_DebugMsg(failStr) {} |
#define | CP_DT_DebugMsgIf(cond, failStr) {} |
#define | CP_DT_DebugNum(msg, num) {} |
#define | CP_DT_IsValidObject(object) {} |
#define | CP_DT_AssertHandleIsValid(h, msg) {} |
#define | CP_DT_AssertResourceIsValid(r, msg) {} |
#define | CP_DT_AssertAddressIsValid(p, msg) {} |
#define | CP_DT_AssertAddressIsValidAlign(p, a, msg) {} |
#define | CP_DT_AssertAddressIsValidAlign2(p, msg) {} |
#define | CP_DT_AssertAddressIsValidAlign4(p, msg) {} |
#define | CP_DT_AssertNoErr(err, msg) {} |
#define | CP_DT_IS_NOT_NULL(p) ( (p) != nil ) |
#define | CP_DT_IS_NULL(p) ( (p) == nil ) |
#define | CP_DT_IS_NOT_ERR(e) ( (e) == noErr ) |
#define | CP_DT_IS_ERR(e) ( (e) != noErr ) |
Functions | |
void | CP_DT_DebugMsg_Func (char *inMessage) |
void | CP_DT_AssertNoErr_Func (OSErr err, const char *optionalMsg) |
void | CP_DT_AssertMemErrIsNormal_Func (const char *msg) |
void | CP_DT_AssertResErrIsNormal_Func (const char *msg) |
void | CP_DT_AssertValidMemoryAllocationSize_Func (Size byteCount, const char *msg) |
bool | CP_DT_MemErrIsNormal_Func (OSErr err) |
bool | CP_DT_ResErrIsNormal_Func (OSErr err) |
bool | CP_DT_IsValidMemoryAllocationSize_Func (Size theSize) |
void | CP_DT_MemoryDummy_Func (SInt16 dummy) |
bool | CP_DT_IsValidObject_Func (void *object) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|