Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Changed documentation in header because LocalReferenceHolder not publ…
Browse files Browse the repository at this point in the history
…ic API.
  • Loading branch information
philippwiesemann committed Jun 2, 2013
1 parent 780bc11 commit 3c4fad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL_system.h
Expand Up @@ -62,7 +62,7 @@ extern DECLSPEC void * SDLCALL SDL_AndroidGetJNIEnv();
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)
(using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
*/
extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity();

Expand Down

0 comments on commit 3c4fad8

Please sign in to comment.