Changed documentation in header because LocalReferenceHolder not public API.
This commit is contained in:
parent
5966837f4a
commit
579a0da656
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue