Move the sources to trunk
[opencv] / apps / cvenv / EiC / error.h
1 #ifndef ERRORH_
2 #define ERRORH_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 /* error handling  error.c
9 ---------------------------*/
10 void EiC_error(char *, ...);
11 int EiC_match(int t, char * m);
12 void EiC_warningerror(char *, ...);
13 void EiC_clear_err_msgs(void);
14 void EiC_formatMessage(char *,...);
15
16
17 /* error handling  globals
18 ---------------------------*/
19 extern int EiC_ParseError;          /* if 1 an error has occured */
20 extern int EiC_ErrorRecover;       /* if 1 attempting to recover from error*/
21 extern int EiC_errs;           /* Number of errors and warnings */
22
23 extern void (*EiC_messageDisplay)(char *);  /* pointer function to
24                                              * message Display
25                                              * function
26                                              */
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif