equal
deleted
inserted
replaced
13 *******************************************************************************/ |
13 *******************************************************************************/ |
14 #include <jni.h> |
14 #include <jni.h> |
15 |
15 |
16 /* Called before SDL_main() to initialize JNI bindings in SDL library */ |
16 /* Called before SDL_main() to initialize JNI bindings in SDL library */ |
17 extern void SDL_Android_Init(JNIEnv* env, jclass cls); |
17 extern void SDL_Android_Init(JNIEnv* env, jclass cls); |
|
18 |
|
19 /* This prototype is needed to prevent a warning about the missing prototype for global function below */ |
|
20 JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array); |
18 |
21 |
19 /* Start up the SDL app */ |
22 /* Start up the SDL app */ |
20 JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array) |
23 JNIEXPORT int JNICALL Java_org_libsdl_app_SDLActivity_nativeInit(JNIEnv* env, jclass cls, jobject array) |
21 { |
24 { |
22 int i; |
25 int i; |