summaryrefslogtreecommitdiff
path: root/Source/Android/jni/GameList/GameFileCache.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-01-29 18:36:26 +0100
committerJosJuice <josjuice@gmail.com>2022-01-29 18:38:55 +0100
commitb8a6fcb1a727094ed590aab772e4bfb1929d46f0 (patch)
treedf2a214ec4958b4f972ebc11df7b6552d59fc1a5 /Source/Android/jni/GameList/GameFileCache.cpp
parentaf5678ea758d493c419ca53c56a0ce4f8fa0ca0f (diff)
Android: Get rid of __cplusplus macro checks
These files cannot compile correctly as C, so there's no reason to have ifdefs for C compatibility. We switched to not checking the __cplusplus macro in our JNI code some time ago, but it seems like I forgot to remove it from these two files.
Diffstat (limited to 'Source/Android/jni/GameList/GameFileCache.cpp')
-rw-r--r--Source/Android/jni/GameList/GameFileCache.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/Source/Android/jni/GameList/GameFileCache.cpp b/Source/Android/jni/GameList/GameFileCache.cpp
index b79d85db15..061056cc90 100644
--- a/Source/Android/jni/GameList/GameFileCache.cpp
+++ b/Source/Android/jni/GameList/GameFileCache.cpp
@@ -11,20 +11,13 @@
#include "jni/AndroidCommon/IDCache.h"
#include "jni/GameList/GameFile.h"
-namespace UICommon
-{
-class GameFile;
-}
-
static UICommon::GameFileCache* GetPointer(JNIEnv* env, jobject obj)
{
return reinterpret_cast<UICommon::GameFileCache*>(
env->GetLongField(obj, IDCache::GetGameFileCachePointer()));
}
-#ifdef __cplusplus
extern "C" {
-#endif
JNIEXPORT jlong JNICALL
Java_org_dolphinemu_dolphinemu_model_GameFileCache_newGameFileCache(JNIEnv* env, jclass)
@@ -96,7 +89,4 @@ JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_model_GameFileCache_sa
{
return GetPointer(env, obj)->Save();
}
-
-#ifdef __cplusplus
}
-#endif