w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

error.h
Go to the documentation of this file.
1 /* $Header$
2 
3  This is dvipdfm, a DVI to PDF translator.
4  Copyright (C) 1998, 1999 by Mark A. Wicks
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 
20  The author may be contacted via the e-mail address
21 
22  mwicks@kettering.edu
23 */
24 
25 
26 #ifndef _ERROR_H_
27 #define _ERROR_H_
28 
29 #include "system.h"
30 
31 extern void error_cleanup();
32 
33 #define FATAL_ERROR -1
34 #define NO_ERROR 0
35 
36 #define ERROR(string) { \
37  fprintf(stderr, "\n"); \
38  fprintf (stderr, string); \
39  fprintf (stderr, "\n"); \
40  error_cleanup(); \
41  exit(1);}
42 typedef int error_t;
43 
44 #endif /* _ERROR_H_ */
45 
void error_cleanup(void)
Definition: dvipdfmx.c:829
int error_t
Definition: error.h:42