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