summaryrefslogtreecommitdiff
path: root/fitz/except.h
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/except.h')
-rw-r--r--fitz/except.h51
1 files changed, 0 insertions, 51 deletions
diff --git a/fitz/except.h b/fitz/except.h
deleted file mode 100644
index 477fbc39..00000000
--- a/fitz/except.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef EXCEPT_H
-#define EXCEPT_H
-
-#include "fitz.h"
-
-typedef struct fz_context fz_context;
-typedef int fz_error;
-
-typedef struct fz_except {
- char mess[256];
-} fz_except;
-
-#include "exceptxxx.h"
-/*
- Macros for fz_try and fz_catch are defined in exceptxxx.h,
- but their definitions are best ignored. Just use them as follows:
-
- fz_var(..);
- fz_var(..);
-
- fz_try(ctx)
- {
- .
- .
- .
- }
- fz_catch(ctx)
- {
- .
- .
- .
- }
-
- and don't return from within the try clause.
-*/
-
-void fz_throw(fz_context *, char *, ...);
-
-fz_except *fz_caught(fz_context *);
-
-void fz_rethrow(fz_context *);
-
-#define fz_var(A) fz_var_xxx((void *)&(A))
-
-void fz_var_xxx(void *x);
-
-fz_error fz_except_init(fz_context *);
-
-void fz_except_fin(fz_context *);
-
-#endif /* EXCEPT */