C/C++
gef.txt
Associated article: The GEF General Exception-Handling Library
Tags: C/C++ Tools
Published source code accompanying the article by Bruce W. Bigby in which he presents GEF, a general exception- handling and contract-programming facility for C programmers. With GEF, its special control macros, and other support functions, you can separate the main purpose of a function from its exception-handling, contract-validation, and resource reclamation code. Also see GEF1.ZIP.
The GEF General Exception-Handling Library
by Bruce W. Bigby
Listing One
typedef struct {
int lowbound;
int highbound;
int size;
int **data;
int numberOfSlots;
} *ArrayOfInt_t;
static
void
AddHighInt(ArrayOfInt_t self, int i) {
int old_highbound = self->highbound;
gef_...


