/*
* @module
* defs.h
* @description
* header file for defines used
* @author
* rdoss.com
*/
#ifndef DEFS_H
#define DEFS_H
/* ERROR:
* macro for outputting errors, and exiting
* gracefully
*/
#define ERROR(A,B) fprintf(stderr,"%s %s\n",(A),(B)); \
exit(-1);
/* DEBUG:
* macro for outputting file and line information
*/
#define DEBUG() fprintf(stderr,"file (%s), line (%d)\n",__FILE__,__LINE__);
#endif /* DEFS_H */