home *** CD-ROM | disk | FTP | other *** search
-
- /*
- * error.h
- * Copyright © 1992 Niklas Röjemo
- */
-
- #ifndef _error_h
- #define _error_h
-
- #ifndef _global_h
- #include "global.h"
- #endif
-
- void errorInit(int throwback,char *filename);
- void errorFinish(void);
-
- typedef enum {
- ErrorInfo,
- ErrorWarning,
- ErrorError,
- ErrorSerious,
- ErrorAbort
- } ErrorTag;
-
- void errorLine(int lineno,ErrorTag e, BOOL c, const char *format, ...);
- void error(ErrorTag e, BOOL c, const char *format, ...);
-
- int noerrors(void);
- int nowarnings(void);
-
- #endif
-