Canorus 0.0
except.h
Go to the documentation of this file.
1/*
2 *
3 * except.m - XXX
4 *
5 * Copyright (C) 1999 Steve Ratcliffe
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 *
17 */
18
19#include <setjmp.h>
20
21struct except {
22 int set;
23#ifdef __MINGW32__
24 jmp_buf buf;
25#else
26 sigjmp_buf buf;
27#endif
28};
29
30extern struct except *formatError; /* Bad file format */
31extern struct except *ioError; /* Error reading/writing file */
32extern struct except *debugError; /* Debugging 'shouldn't happen' errors */
33
34void except(struct except *e, char *message, ...);
struct except * ioError
struct except * formatError
struct except * debugError
void except(struct except *e, char *message,...)
Definition: except.h:21
sigjmp_buf buf
Definition: except.h:26
int set
Definition: except.h:22