7 #ifndef PXR_BASE_ARCH_ERROR_H
8 #define PXR_BASE_ARCH_ERROR_H
32 void Arch_Error(
const char* msg,
const char* funcName,
33 size_t lineNo,
const char* fileName);
44 void Arch_Warning(
const char* msg,
const char* funcName,
45 size_t lineNo,
const char* fileName);
55 #define ARCH_ERROR(msg) \
56 Arch_Error(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
63 #define ARCH_WARNING(msg) \
64 Arch_Warning(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
68 #define ARCH_AXIOM(cond) \
69 if (!(cond)) ARCH_ERROR("[" #cond "] axiom failed")
75 #endif // PXR_BASE_ARCH_ERROR_H
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE