Use the correct return type for SDL_GetAndroidJNIEnv()
This prevents application code from having to cast to JNIEnv everywhere.
This commit is contained in:
parent
3d852da806
commit
2d3fa03d53
4 changed files with 12 additions and 5 deletions
|
@ -2177,7 +2177,7 @@ bool Android_JNI_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *b
|
|||
//////////////////////////////////////////////////////////////////////////////
|
||||
*/
|
||||
|
||||
void *SDL_GetAndroidJNIEnv(void)
|
||||
JNIEnv *SDL_GetAndroidJNIEnv(void)
|
||||
{
|
||||
return Android_JNI_GetEnv();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue