Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files

Changed documentation in header because LocalReferenceHolder not publ…

…ic API.
  • Loading branch information
philippwiesemann committed Jun 2, 2013
1 parent 780bc11 commit 3c4fad8afa4095e87fda42fef336d49529a40f3d

File 1 of 1 in 3c4fad8

@@ -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();

0 comments on commit 3c4fad8

Please sign in to comment.