// (c) Jean MICHEL June 1993 -- any modifications must be signaled to the
// author

// this defines a system-independent error function mechanism.
// to use cell.cpp under another system that windows, just replace
// winerror.cpp by some appropriate code

// error codes to be used in user-provided efns :
// bits 1..4: severity
#define ERROR_ 0x1
#define WARNING_ 0x2
/* bits 5..8: broad category */
#define MEMORY_ 0x10
#define FILE_ 0x20
#define FILEN_ 0x40
// FILE_: print errno system message; FILEN_ : do not print it 
#define SYNTAX_ 0x30
// other bits can be used in more specific applications 
extern void (cdecl *efns)(int /* errcode */,char *,...);
extern int status;
