diff options
author | Simon Reinhardt <simon.reinhardt@stud.uni-regensburg.de> | 2016-05-07 22:20:51 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-05-12 12:18:19 +0100 |
commit | c99afdde9b0032daa5b64107bd063180ffc3ad3b (patch) | |
tree | 8585e0b0fa4e0484515dfdac0740f26788412f40 /include/mupdf/fitz/context.h | |
parent | ea2b0bffaf8e5a8fbbe85a5dcfde2f95d29d5282 (diff) | |
download | mupdf-c99afdde9b0032daa5b64107bd063180ffc3ad3b.tar.xz |
Add variadic versions of fz_throw and fz_warn.
Diffstat (limited to 'include/mupdf/fitz/context.h')
-rw-r--r-- | include/mupdf/fitz/context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h index 2908f6b0..6153e6e1 100644 --- a/include/mupdf/fitz/context.h +++ b/include/mupdf/fitz/context.h @@ -74,8 +74,10 @@ void fz_var_imp(void *); if ((ctx->error->top--)->code > 1) int fz_push_try(fz_context *ctx); +FZ_NORETURN void fz_vthrow(fz_context *ctx, int errcode, const char *, va_list ap); FZ_NORETURN void fz_throw(fz_context *ctx, int errcode, const char *, ...) __printflike(3, 4); FZ_NORETURN void fz_rethrow(fz_context *ctx); +void fz_vwarn(fz_context *ctx, const char *fmt, va_list ap); void fz_warn(fz_context *ctx, const char *fmt, ...) __printflike(2, 3); const char *fz_caught_message(fz_context *ctx); int fz_caught(fz_context *ctx); |