summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-11-09 12:36:01 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-11-14 13:23:57 +0100
commitf0690e5d4c6c6b1ae66b8c0bb3425bb2fbba0b29 (patch)
tree2c0812acaf0f607553504f3abd5f12d840b7b66b /platform
parent7c6c6a58d58b7df384704e909d34e47454582c15 (diff)
downloadmupdf-f0690e5d4c6c6b1ae66b8c0bb3425bb2fbba0b29.tar.xz
Add optional 'object' argument to pdf_add_stream.
Diffstat (limited to 'platform')
-rw-r--r--platform/java/mupdf_native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/java/mupdf_native.c b/platform/java/mupdf_native.c
index 1704fd1d..537646a6 100644
--- a/platform/java/mupdf_native.c
+++ b/platform/java/mupdf_native.c
@@ -6057,7 +6057,7 @@ FUN(PDFDocument_addStreamBuffer)(JNIEnv *env, jobject self, jobject jbuf)
if (!jbuf) { jni_throw_arg(env, "buffer must not be null"); return NULL; }
fz_try(ctx)
- ind = pdf_add_stream(ctx, pdf, buf);
+ ind = pdf_add_stream(ctx, pdf, buf, NULL);
fz_catch(ctx)
{
jni_rethrow(env, ctx);
@@ -6093,7 +6093,7 @@ FUN(PDFDocument_addStreamString)(JNIEnv *env, jobject self, jstring jbuf)
memcpy(data, sbuf, len);
buf = fz_new_buffer_from_data(ctx, data, len);
data = NULL;
- ind = pdf_add_stream(ctx, pdf, buf);
+ ind = pdf_add_stream(ctx, pdf, buf, NULL);
}
fz_always(ctx)
{