diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-10-16 12:01:48 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-10-16 12:01:48 +0200 |
commit | 94a45d8458ac8e02c994a16023ecf026210a2bad (patch) | |
tree | 30edb2d9ba528414c943cc6f6e561af5f9ae9b96 /src/main/jni/jni.c | |
parent | 0af5c054c386dcafeedded2c467b22b53afc1d0f (diff) |
delete unused libs
Diffstat (limited to '')
-rw-r--r-- | src/main/jni/jni.c | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/main/jni/jni.c b/src/main/jni/jni.c deleted file mode 100644 index b8bb4713a..000000000 --- a/src/main/jni/jni.c +++ /dev/null @@ -1,40 +0,0 @@ -#include <stdio.h> -#include <string.h> -#include <jni.h> -#include <sys/types.h> -#include <inttypes.h> -#include <stdlib.h> -#include <openssl/aes.h> -#include <unistd.h> -#include "utils.h" -#include "image.h" - -int registerNativeTgNetFunctions(JavaVM *vm, JNIEnv *env); -int gifvideoOnJNILoad(JavaVM *vm, JNIEnv *env); - -jint JNI_OnLoad(JavaVM *vm, void *reserved) { - JNIEnv *env = 0; - srand(time(NULL)); - - if ((*vm)->GetEnv(vm, (void **) &env, JNI_VERSION_1_6) != JNI_OK) { - return -1; - } - - if (imageOnJNILoad(vm, reserved, env) == -1) { - return -1; - } - - if (gifvideoOnJNILoad(vm, env) == -1) { - return -1; - } - - if (registerNativeTgNetFunctions(vm, env) != JNI_TRUE) { - return -1; - } - - return JNI_VERSION_1_6; -} - -void JNI_OnUnload(JavaVM *vm, void *reserved) { - -} |