Patched to compile on Android (I hope).
This commit is contained in:
parent
bedac6b53a
commit
7ccd2d26a9
3 changed files with 9 additions and 1 deletions
|
@ -1610,6 +1610,11 @@ const char * SDL_AndroidGetExternalStoragePath()
|
|||
return s_AndroidExternalFilesPath;
|
||||
}
|
||||
|
||||
jclass Android_JNI_GetActivityClass(void)
|
||||
{
|
||||
return mActivityClass;
|
||||
}
|
||||
|
||||
#endif /* __ANDROID__ */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
|
@ -78,6 +78,7 @@ int Android_JNI_GetTouchDeviceIds(int **ids);
|
|||
#include <jni.h>
|
||||
JNIEnv *Android_JNI_GetEnv(void);
|
||||
int Android_JNI_SetupThread(void);
|
||||
jclass Android_JNI_GetActivityClass(void);
|
||||
|
||||
/* Generic messages */
|
||||
int Android_JNI_SendMessage(int command, int param);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue