Moved warning about SDL_AndroidGetActivity to SDL_system.h

This commit is contained in:
Gabriel Jacobo 2013-04-23 16:44:54 -03:00
parent 2b47360970
commit b1b1c1e2d1
2 changed files with 6 additions and 5 deletions

View file

@ -62,6 +62,9 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv();
/* Get the SDL Activity object for the application
This returns jobject, but the prototype is void* so we don't need jni.h
The jobject returned by SDL_AndroidGetActivity is a local reference.
It is the caller's responsibility to properly release it
(using LocalReferenceHolder or manually with env->DeleteLocalRef)
*/
extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity();