include/SDL_system.h
changeset 7095 79ca4d26d4b3
parent 6885 700f1b25f77f
child 7191 75360622e65f
--- a/include/SDL_system.h	Tue Apr 23 08:19:21 2013 -0700
+++ b/include/SDL_system.h	Tue Apr 23 16:44:54 2013 -0300
@@ -62,6 +62,9 @@
 
 /* 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();