Added back SDL_ANDROID_JniEnv() function
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "SDL_video.h"
|
||||
#include "SDL_screenkeyboard.h"
|
||||
#include <jni.h>
|
||||
|
||||
#include "begin_code.h"
|
||||
/* Set up for C function definitions, even when using C++ */
|
||||
@@ -76,6 +77,11 @@ extern DECLSPEC int SDLCALL SDL_ANDROID_SetAdvertisementPosition(int x, int y);
|
||||
/* Request a new advertisement to be loaded */
|
||||
extern DECLSPEC int SDLCALL SDL_ANDROID_RequestNewAdvertisement(void);
|
||||
|
||||
|
||||
/** Exports for Java environment and Video object instance */
|
||||
extern DECLSPEC JNIEnv* SDL_ANDROID_JniEnv();
|
||||
extern DECLSPEC jobject SDL_ANDROID_JniVideoObject();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "SDL_version.h"
|
||||
#include "SDL_thread.h"
|
||||
#include "SDL_main.h"
|
||||
#include "SDL_screenkeyboard.h"
|
||||
#include "SDL_android.h"
|
||||
|
||||
/* JNI-C wrapper stuff */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user