24 #ifndef PXR_BASE_ARCH_ERROR_H
25 #define PXR_BASE_ARCH_ERROR_H
49 void Arch_Error(
const char* msg,
const char* funcName,
50 size_t lineNo,
const char* fileName);
61 void Arch_Warning(
const char* msg,
const char* funcName,
62 size_t lineNo,
const char* fileName);
72 #define ARCH_ERROR(msg) \
73 Arch_Error(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
80 #define ARCH_WARNING(msg) \
81 Arch_Warning(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
85 #define ARCH_AXIOM(cond) \
86 if (!(cond)) ARCH_ERROR("[" #cond "] axiom failed")
92 #endif // PXR_BASE_ARCH_ERROR_H
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE