From 8ce6f1e4e4eb7905fdf04ec9d9c770076d14bfad Mon Sep 17 00:00:00 2001 From: Gabriel Pettier Date: Sun, 22 Aug 2021 02:57:25 +0200 Subject: [PATCH] Update jnius_jvm_android to simplify patching for p4a --- jnius/jnius_jvm_android.pxi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jnius/jnius_jvm_android.pxi b/jnius/jnius_jvm_android.pxi index c84fcc9..dae6b31 100644 --- a/jnius/jnius_jvm_android.pxi +++ b/jnius/jnius_jvm_android.pxi @@ -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 SDL_AndroidGetJNIEnv()