include/SDL_system.h
changeset 8477 ad08f0d710f3
parent 8453 499aa167ea79
parent 7264 23a5c8f4b312
child 8500 f25ef28d61e8
     1.1 --- a/include/SDL_system.h	Sat Jun 08 14:34:09 2013 -0400
     1.2 +++ b/include/SDL_system.h	Mon Aug 12 22:29:55 2013 -0400
     1.3 @@ -21,7 +21,7 @@
     1.4  
     1.5  /**
     1.6   *  \file SDL_system.h
     1.7 - *  
     1.8 + *
     1.9   *  Include file for platform specific SDL API functions
    1.10   */
    1.11  
    1.12 @@ -38,9 +38,7 @@
    1.13  #include "begin_code.h"
    1.14  /* Set up for C function definitions, even when using C++ */
    1.15  #ifdef __cplusplus
    1.16 -/* *INDENT-OFF* */
    1.17  extern "C" {
    1.18 -/* *INDENT-ON* */
    1.19  #endif
    1.20  
    1.21  /* Platform specific functions for iOS */
    1.22 @@ -62,6 +60,9 @@
    1.23  
    1.24  /* Get the SDL Activity object for the application
    1.25     This returns jobject, but the prototype is void* so we don't need jni.h
    1.26 +   The jobject returned by SDL_AndroidGetActivity is a local reference.
    1.27 +   It is the caller's responsibility to properly release it
    1.28 +   (using env->Push/PopLocalFrame or manually with env->DeleteLocalRef)
    1.29   */
    1.30  extern DECLSPEC void * SDLCALL SDL_AndroidGetActivity();
    1.31  
    1.32 @@ -160,9 +161,7 @@
    1.33  
    1.34  /* Ends C function definitions when using C++ */
    1.35  #ifdef __cplusplus
    1.36 -/* *INDENT-OFF* */
    1.37  }
    1.38 -/* *INDENT-ON* */
    1.39  #endif
    1.40  #include "close_code.h"
    1.41