1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00

more informative error code

This commit is contained in:
Nikolay Pultsin 2012-03-19 17:48:21 +00:00
parent 918a0738fe
commit c1e3fd4c3e
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := DeflatingDecompressor-v2
LOCAL_MODULE := DeflatingDecompressor-v3
LOCAL_SRC_FILES := DeflatingDecompressor/DeflatingDecompressor.cpp
LOCAL_LDLIBS := -lz

View file

@ -79,5 +79,5 @@ jlong Java_org_amse_ys_zip_DeflatingDecompressor_inflate(JNIEnv *env, jobject th
}
return result;
}
return -3;
return -1024 + code;
}

View file

@ -4,7 +4,7 @@ import java.io.*;
class DeflatingDecompressor extends Decompressor {
static {
System.loadLibrary("DeflatingDecompressor-v2");
System.loadLibrary("DeflatingDecompressor-v3");
}
// common variables