head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2002.09.07.01.50.38; author curt; state Exp; branches; next 1.2; 1.2 date 2002.08.31.19.01.55; author curt; state Exp; branches; next 1.1; 1.1 date 2002.08.31.18.54.01; author curt; state Exp; branches; next ; desc @@ 1.3 log @Updated doxygen docs. @ text @
Main Page Class Hierarchy Compound List File List Compound Members File Members

# mat3err.h

    00001 #ifndef _MAT3ERR_H
    00002 #define _MAT3ERR_H
    00003
    00004
    00005 #ifdef __cplusplus
    00006 extern "C" {
    00007 #endif
    00008
    00009
    00010 #include "sph_errtypes.h"
    00011
    00012 #ifdef THINK_C
    00013 /* We hide this from gnu's compiler, which doesn't understand it. */
    00014 void SPH__error (int errtype, ...);
    00015 #endif
    00016
    00017
    00018 #define ERR_ERROR(A,B,C)   \
    00019    if (1) {char cstr[256]; sprintf C; SPH__error(ERR_MAT3_PACKAGE, cstr); } else
    00020
    00021
    00022 #define ERR_S  cstr,"%s\n"
    00023 #define ERR_SI cstr,"%s: %d\n"
    00024 #define ERR_SS cstr,"%s: %s\n"
    00025
    00026 #define ERR_SEVERE 0
    00027 #define ERR_FATAL  0
    00028
    00029 #define ERR_ALLOC1 0
    00030
    00031 typedef int ERRid;
    00032
    00033 #define ERRregister_package(S)    100
    00034
    00035
    00036 #ifdef __cplusplus
    00037 }
    00038 #endif
    00039
    00040
    00041 #endif /* _MAT3ERR_H */

@ 1.2 log @Oops, try again. @ text @d50 1 a50 1