Indentation fix, cleanup.
[AROS.git] / compiler / purify / src / error.h
blob271e44d5001ee74459c710c2d7d23b3f1851fe91
1 #ifndef _ERROR
2 #define _ERROR
4 #define POSINFO_FORMAT "%s:%d in %s()"
5 #define POSINFO_ARG(pi) (pi)->filename, (pi)->lineno, (pi)->functionname
7 extern int Purify_Error;
9 enum PurifyErrorCodes
11 #undef _ERROR_DEF
12 #define _ERROR_DEF(n,s) n,
13 #include "error.def"
16 void Purify_PrePrintError (void);
17 void Purify_PostPrintError (void);
18 void Purify_PrintError (const char * fmt, ...);
19 void Purify_PrintAccessError (const char * access, const void * addr, int size);
21 #endif /* _ERROR */