Skip to content

Commit 75c3b59

Browse files
committed
Fix wrong package name in jni source
1 parent eb4dbc7 commit 75c3b59

File tree

7 files changed

+33
-35
lines changed

7 files changed

+33
-35
lines changed

sdlplugin/addincludes.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ cd ${TOPDIR}
3535

3636
rm -rf ${TOPDIR}/assets/examples.zip
3737
zip -r9 ${TOPDIR}/assets/examples.zip Examples
38-
39-
read

sdlplugin/assets/examples.zip

15 Bytes
Binary file not shown.

sdlplugin/assets/headers.zip

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

sdlplugin/assets/sdlmain-x86.zip

0 Bytes
Binary file not shown.

sdlplugin/src/main/jni/utils/utils.c

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
#define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
2626

2727
/*
28-
* Class: com_duy_ccppcompiler_sdlplugin_Utils
28+
* Class: com_duy_c_cpp_compiler_sdlplugin_Utils
2929
* Method: setEnv
3030
* Signature: (Ljava/lang/String;Ljava/lang/String;Z)I
3131
*/
32-
JNIEXPORT jint JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_setEnv
32+
JNIEXPORT jint JNICALL Java_com_duy_c_cpp_compiler_sdlplugin_Utils_setEnv
3333
(JNIEnv *env, jobject this, jstring name, jstring value, jboolean overwrite)
3434
{
3535
const char *_name = (*env)->GetStringUTFChars(env, name, 0);
@@ -39,11 +39,11 @@ JNIEXPORT jint JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_setEnv
3939
}
4040

4141
/*
42-
* Class: com_duy_ccppcompiler_sdlplugin_Utils
42+
* Class: com_duy_c_cpp_compiler_sdlplugin_Utils
4343
* Method: unSetEnv
4444
* Signature: (Ljava/lang/String;)I
4545
*/
46-
JNIEXPORT jint JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_unSetEnv
46+
JNIEXPORT jint JNICALL Java_com_duy_c_cpp_compiler_sdlplugin_Utils_unSetEnv
4747
(JNIEnv *env, jobject this, jstring name)
4848
{
4949
const char *_name = (*env)->GetStringUTFChars(env, name, 0);
@@ -52,11 +52,11 @@ JNIEXPORT jint JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_unSetEnv
5252
}
5353

5454
/*
55-
* Class: com_duy_ccppcompiler_sdlplugin_Utils
55+
* Class: com_duy_c_cpp_compiler_sdlplugin_Utils
5656
* Method: getEnv
5757
* Signature: (Ljava/lang/String;)Ljava/lang/String;
5858
*/
59-
JNIEXPORT jstring JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_getEnv
59+
JNIEXPORT jstring JNICALL Java_com_duy_c_cpp_compiler_sdlplugin_Utils_getEnv
6060
(JNIEnv *env, jobject this, jstring name)
6161
{
6262
const char *_name = (*env)->GetStringUTFChars(env, name, 0);
@@ -70,23 +70,23 @@ JNIEXPORT jstring JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_getEnv
7070
}
7171

7272
/*
73-
* Class: com_duy_ccppcompiler_sdlplugin_Utils
73+
* Class: com_duy_c_cpp_compiler_sdlplugin_Utils
7474
* Method: chDir
7575
* Signature: (Ljava/lang/String;)I
7676
*/
77-
JNIEXPORT jint JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_chDir
77+
JNIEXPORT jint JNICALL Java_com_duy_c_cpp_compiler_sdlplugin_Utils_chDir
7878
(JNIEnv *env, jobject this, jstring path)
7979
{
8080
const char *_path = (*env)->GetStringUTFChars(env, path, 0);
8181
return chdir(_path);
8282
}
8383

8484
/*
85-
* Class: com_duy_ccppcompiler_sdlplugin_Utils
85+
* Class: com_duy_c_cpp_compiler_sdlplugin_Utils
8686
* Method: getSDLVersion
8787
* Signature: (I)Ljava/lang/String;
8888
*/
89-
JNIEXPORT jstring JNICALL Java_com_duy_ccppcompiler_sdlplugin_Utils_getSDLVersion
89+
JNIEXPORT jstring JNICALL Java_com_duy_c_cpp_compiler_sdlplugin_Utils_getSDLVersion
9090
(JNIEnv *env, jclass this, jint lib)
9191
{
9292
char buf[256];

sdlplugin/src/main/jni/utils/utils.h

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)