src/main/android/SDL_android_main.c
changeset 9171 3464a9bda1e2
parent 9006 98c808d72e20
child 9172 985481d7f3a1
equal deleted inserted replaced
9170:872d1b4b34a1 9171:3464a9bda1e2
    17 extern void SDL_Android_Init(JNIEnv* env, jclass cls);
    17 extern void SDL_Android_Init(JNIEnv* env, jclass cls);
    18 
    18 
    19 /* Start up the SDL app */
    19 /* Start up the SDL app */
    20 int Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject obj)
    20 int Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject obj)
    21 {
    21 {
    22     /* This interface could expand with ABI negotiation, calbacks, etc. */
    22     /* This interface could expand with ABI negotiation, callbacks, etc. */
    23     SDL_Android_Init(env, cls);
    23     SDL_Android_Init(env, cls);
    24 
    24 
    25     SDL_SetMainReady();
    25     SDL_SetMainReady();
    26 
    26 
    27     /* Run the application code! */
    27     /* Run the application code! */