1 #include "sph_errtypes.h"
4 /* We hide this from gnu's compiler, which doesn't understand it. */
5 void SPH__error (int errtype, ...);
9 #define ERR_ERROR(A,B,C) \
10 if (1) {char cstr[256]; sprintf C; SPH__error(ERR_MAT3_PACKAGE, cstr); } else
13 #define ERR_S cstr,"%s\n"
14 #define ERR_SI cstr,"%s: %d\n"
15 #define ERR_SS cstr,"%s: %s\n"
24 #define ERRregister_package(S) 100