Canorus
0.0
src
import
pmidi
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
21
struct
except
{
22
int
set
;
23
#ifdef __MINGW32__
24
jmp_buf
buf
;
25
#else
26
sigjmp_buf
buf
;
27
#endif
28
};
29
30
extern
struct
except
*
formatError
;
/* Bad file format */
31
extern
struct
except
*
ioError
;
/* Error reading/writing file */
32
extern
struct
except
*
debugError
;
/* Debugging 'shouldn't happen' errors */
33
34
void
except
(
struct
except
*e,
char
*message, ...);
ioError
struct except * ioError
formatError
struct except * formatError
debugError
struct except * debugError
except
void except(struct except *e, char *message,...)
except
Definition:
except.h:21
except::buf
sigjmp_buf buf
Definition:
except.h:26
except::set
int set
Definition:
except.h:22
Generated by
1.9.3