From 439866d257a33e7394bbe784b6194a68c27b0730 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sun, 21 Jun 2020 22:40:58 +0200 Subject: Android: Remove unnecessary JNI function declarations We generally have no reason to call these functions on our own, so there's not much reason to declare them, especially not in the cpp file where they're defined. In case we ever do get a reason to do it, we can add declarations for just the functions that need them. --- Source/Android/jni/GameList/GameFileCache.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'Source/Android/jni/GameList/GameFileCache.cpp') diff --git a/Source/Android/jni/GameList/GameFileCache.cpp b/Source/Android/jni/GameList/GameFileCache.cpp index f6b81ae834..856e913f29 100644 --- a/Source/Android/jni/GameList/GameFileCache.cpp +++ b/Source/Android/jni/GameList/GameFileCache.cpp @@ -27,25 +27,6 @@ static UICommon::GameFileCache* GetPointer(JNIEnv* env, jobject obj) extern "C" { #endif -JNIEXPORT jlong JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache( - JNIEnv* env, jobject obj, jstring path); -JNIEXPORT void JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_finalize(JNIEnv* env, - jobject obj); -JNIEXPORT jobjectArray JNICALL -Java_org_dolphinemu_dolphinemu_model_GameFileCache_getAllGames(JNIEnv* env, jobject obj); -JNIEXPORT jobject JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_addOrGet(JNIEnv* env, - jobject obj, - jstring path); -JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_update( - JNIEnv* env, jobject obj, jobjectArray folder_paths, jboolean recursive_scan); -JNIEXPORT jboolean JNICALL -Java_org_dolphinemu_dolphinemu_model_GameFileCache_updateAdditionalMetadata(JNIEnv* env, - jobject obj); -JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_load(JNIEnv* env, - jobject obj); -JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_save(JNIEnv* env, - jobject obj); - JNIEXPORT jlong JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache( JNIEnv* env, jobject obj, jstring path) { -- cgit v1.2.3