Added back SDL_ANDROID_JniEnv() function

This commit is contained in:
pelya
2012-09-17 16:18:22 +03:00
parent 58ea082bd5
commit a6a9e0a43a
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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 */