src/core/android/SDL_android.c
changeset 7515 77da660f5378
parent 7514 a9008fa2548a
child 7516 4a98853e8e4c
equal deleted inserted replaced
7514:a9008fa2548a 7515:77da660f5378
   528         audioBufferPinned = NULL;
   528         audioBufferPinned = NULL;
   529     }
   529     }
   530 }
   530 }
   531 
   531 
   532 // Test for an exception and call SDL_SetError with its detail if one occurs
   532 // Test for an exception and call SDL_SetError with its detail if one occurs
   533 // If optional parameter silent is truthy then SDL_SetError() is not called.
   533 // If the parameter silent is truthy then SDL_SetError() will not be called.
   534 static bool Android_JNI_ExceptionOccurred(bool silent)
   534 static bool Android_JNI_ExceptionOccurred(bool silent)
   535 {
   535 {
   536     SDL_assert(LocalReferenceHolder_IsActive());
   536     SDL_assert(LocalReferenceHolder_IsActive());
   537     JNIEnv *mEnv = Android_JNI_GetEnv();
   537     JNIEnv *mEnv = Android_JNI_GetEnv();
   538 
   538