]> Shamusworld >> Repos - rmac/blob - error.h
3a3551c4846acd68c4927e347c7c3af15f052fbc
[rmac] / error.h
1 //
2 // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System
3 // ERROR.H - Error Handling
4 // Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends
5 // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986
6 // Source Utilised with the Kind Permission of Landon Dyer
7 //
8
9 #ifndef __ERROR_H__
10 #define __ERROR_H__
11
12 #include "rmac.h"
13
14 #define EBUFSIZ         200                                 // Max size of an error message
15
16 // Globals, externals etc
17 extern int errcnt;
18 extern char * err_fname;
19
20 // Prototypes
21 int error(const char *);
22 int errors(const char *, char *);
23 int fatal(const char *);
24 int warn(const char *);
25 int warns(const char *, char *);
26 int warni(const char *, unsigned);
27 int interror(int);
28 void cantcreat(const char *);
29 void err_setup(void);
30
31 #endif // __ERROR_H__