Android: Remove #ifdef __cplusplus checks

A C compiler would very much be unable to build this code anyway.
This commit is contained in:
JosJuice
2021-03-03 23:01:14 +01:00
parent ae5f8853a4
commit d99d72f5a6
4 changed files with 2 additions and 22 deletions

View File

@ -60,9 +60,7 @@ static void Set(JNIEnv* env, jobject obj, jstring section_name, jstring key, T n
->Set(GetJString(env, key), new_value);
}
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT jboolean JNICALL Java_org_dolphinemu_dolphinemu_utils_IniFile_00024Section_exists(
JNIEnv* env, jobject obj, jstring key)
@ -243,7 +241,4 @@ JNIEXPORT jlong JNICALL Java_org_dolphinemu_dolphinemu_utils_IniFile_copyIniFile
{
return reinterpret_cast<jlong>(new IniFile(*GetIniFilePointer(env, other)));
}
#ifdef __cplusplus
}
#endif