Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
error.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 #ifdef __cplusplus
00008 extern "C" {
00009 #endif
00010
00011
00012 extern void error (const char *fmt, ...);
00013
00014 void print(const char *fmt, ...);
00015
00016 extern int ifFail(const int expr, const int line, const char *file);
00017
00018 extern void
00019 print_n_size_t(size_t nelems, const size_t *array);
00020
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024
00025 #define IF(EXPR) if (ifFail(EXPR, __LINE__, __FILE__))