Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

error.h File Reference

#include <stdio.h>

Go to the source code of this file.

Defines

#define SUCCESS   0
#define FAILURE   1
#define TRUE   1
#define FALSE   0
#define WARN(format, args...)
#define ERROR(format, args...)   (WARN(format, ## args), FAILURE)


Define Documentation

#define ERROR format,
args...   )     (WARN(format, ## args), FAILURE)
 

Definition at line 17 of file error.h.

#define FAILURE   1
 

Definition at line 7 of file error.h.

#define FALSE   0
 

Definition at line 10 of file error.h.

#define SUCCESS   0
 

Definition at line 6 of file error.h.

#define TRUE   1
 

Definition at line 9 of file error.h.

#define WARN format,
args...   ) 
 

Value:

fprintf(stderr, "[%s:%d %s()] " format "\n",  \
                                      __FILE__, __LINE__, __func__, ## args)

Definition at line 13 of file error.h.


Generated on Sun Jan 8 13:26:35 2006 for Guicast-svn by  doxygen 1.4.4