Make the wrapped functions static
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1359 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -106,7 +106,7 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJCompressor_init
|
||||
return;
|
||||
}
|
||||
|
||||
JNIEXPORT jint JNICALL TJCompressor_compress
|
||||
static jint TJCompressor_compress
|
||||
(JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y,
|
||||
jint width, jint pitch, jint height, jint pf, jbyteArray dst,
|
||||
jint jpegSubsamp, jint jpegQual, jint flags)
|
||||
@@ -234,7 +234,7 @@ JNIEXPORT jint JNICALL Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFrom
|
||||
return (jint)jpegSize;
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL TJCompressor_encodeYUV
|
||||
static void TJCompressor_encodeYUV
|
||||
(JNIEnv *env, jobject obj, jarray src, jint srcElementSize, jint x, jint y,
|
||||
jint width, jint pitch, jint height, jint pf, jbyteArray dst, jint pad,
|
||||
jint subsamp, jint flags)
|
||||
@@ -427,7 +427,7 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress
|
||||
return;
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL TJDecompressor_decompress
|
||||
static void TJDecompressor_decompress
|
||||
(JNIEnv *env, jobject obj, jbyteArray src, jint jpegSize, jarray dst,
|
||||
jint dstElementSize, jint x, jint y, jint width, jint pitch, jint height,
|
||||
jint pf, jint flags)
|
||||
@@ -566,7 +566,7 @@ JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompress
|
||||
env, obj, src, jpegSize, dst, 0, 4, 0, flags);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL TJDecompressor_decodeYUV
|
||||
static void TJDecompressor_decodeYUV
|
||||
(JNIEnv *env, jobject obj, jbyteArray src, jint pad, jint subsamp,
|
||||
jarray dst, jint dstElementSize, jint x, jint y, jint width, jint pitch,
|
||||
jint height, jint pf, jint flags)
|
||||
|
||||
Reference in New Issue
Block a user