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()