diff options
| author | JosJuice <josjuice@gmail.com> | 2022-01-29 18:36:26 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2022-01-29 18:38:55 +0100 |
| commit | b8a6fcb1a727094ed590aab772e4bfb1929d46f0 (patch) | |
| tree | df2a214ec4958b4f972ebc11df7b6552d59fc1a5 /Source/Android/jni/GameList/GameFileCache.cpp | |
| parent | af5678ea758d493c419ca53c56a0ce4f8fa0ca0f (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.cpp | 10 |
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 |
