diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 11:31:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 14:11:10 +0100 |
commit | 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (patch) | |
tree | 13253bb6d7af2716f882e878be956fa157544ec6 /platform/android/jni/mupdf.c | |
parent | 88a1d527a50e3cc48606ce097a335669ae84a716 (diff) | |
download | mupdf-3afdcd7307fd5e68f35c7bb91a4d856499f1df44.tar.xz |
Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x.
Separate naming of functions that save complete files to disk
from functions that write data to streams.
Diffstat (limited to 'platform/android/jni/mupdf.c')
-rw-r--r-- | platform/android/jni/mupdf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/jni/mupdf.c b/platform/android/jni/mupdf.c index e7a64b34..b927bd57 100644 --- a/platform/android/jni/mupdf.c +++ b/platform/android/jni/mupdf.c @@ -2597,7 +2597,7 @@ JNI_FN(MuPDFCore_saveInternal)(JNIEnv * env, jobject thiz) if (glo->doc && glo->current_path) { char *tmp; - fz_write_options opts; + fz_save_options opts; opts.do_incremental = 1; opts.do_ascii = 0; opts.do_expand = 0; @@ -2631,7 +2631,7 @@ JNI_FN(MuPDFCore_saveInternal)(JNIEnv * env, jobject thiz) if (!err) { - fz_write_document(ctx, glo->doc, tmp, &opts); + fz_save_document(ctx, glo->doc, tmp, &opts); written = 1; } } @@ -2756,7 +2756,7 @@ JNI_FN(MuPDFCore_startProofInternal)(JNIEnv * env, jobject thiz, int inResolutio fz_try(ctx) { - fz_write_gproof_file(ctx, glo->current_path, glo->doc, tmp, theResolution, "", ""); + fz_save_gproof(ctx, glo->current_path, glo->doc, tmp, theResolution, "", ""); LOGE("Creating %s\n", tmp); ret = (*env)->NewStringUTF(env, tmp); |