Update jnius_jvm_android to simplify patching for p4a

This commit is contained in:
Gabriel Pettier 2021-08-22 02:57:25 +02:00
parent a002083f10
commit 8ce6f1e4e4
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
# on android, rely on SDL to get the JNI env # on android, rely on SDL to get the JNI env
cdef extern JNIEnv *SDL_ANDROID_GetJNIEnv() cdef extern JNIEnv *SDL_AndroidGetJNIEnv()
cdef JNIEnv *get_platform_jnienv() except NULL: cdef JNIEnv *get_platform_jnienv() except NULL:
return SDL_ANDROID_GetJNIEnv() return <JNIEnv*>SDL_AndroidGetJNIEnv()