dos_compilers/Zortech C++ v206/INCLUDE/CRITERR.HPP
2024-07-02 07:30:38 -07:00

15 lines
285 B
C++

#ifndef CRITERRHPP
#define CRITERRHPP
#include <int.h>
enum { CE_IGNORE, CE_RETRY, CE_ABORT };
class ce_handler {
int (* predecessor)(int, int);
void previous();
public:
ce_handler(int (* user_handler)(int,int));
~ce_handler() { previous(); }
};
#endif