summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-03-05 13:52:45 +0100
committerTor Andersson <tor.andersson@artifex.com>2018-03-16 14:51:40 +0100
commiteea38800a98708a18616782e5c3e67ce9c0ca0e3 (patch)
tree4fdcefa8b9cb3c0fe52188b7b022b7b1738dd23b /include
parent64540ab12be45da103ec27295a6c9c8194f14ee1 (diff)
downloadmupdf-eea38800a98708a18616782e5c3e67ce9c0ca0e3.tar.xz
Don't throw when fz_is_directory is called on a non-existent path.
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/archive.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mupdf/fitz/archive.h b/include/mupdf/fitz/archive.h
index c204b34f..317ab996 100644
--- a/include/mupdf/fitz/archive.h
+++ b/include/mupdf/fitz/archive.h
@@ -61,6 +61,8 @@ fz_archive *fz_open_archive_with_stream(fz_context *ctx, fz_stream *file);
*/
fz_archive *fz_open_directory(fz_context *ctx, const char *path);
+int fz_is_directory(fz_context *ctx, const char *path);
+
/*
fz_drop_archive: Release an open archive.