mirror of https://github.com/kivy/pyjnius.git
Update jnius_jvm_android to simplify patching for p4a
This commit is contained in:
parent
a002083f10
commit
8ce6f1e4e4
|
@ -1,5 +1,6 @@
|
|||
# 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:
|
||||
return SDL_ANDROID_GetJNIEnv()
|
||||
return <JNIEnv*>SDL_AndroidGetJNIEnv()
|
||||
|
|
Loading…
Reference in New Issue