diff options
| author | Po Lu | 2024-02-22 13:30:18 +0800 |
|---|---|---|
| committer | Po Lu | 2024-02-22 13:30:18 +0800 |
| commit | 8e0f134653b2951e80cd5659fba5c36e416931fa (patch) | |
| tree | 4a32393847f67ed4fb0389ef753aa7b04d0ba988 /src/android.c | |
| parent | ee6343556a53770cd2c7730b48ce1731423d8825 (diff) | |
| download | emacs-8e0f134653b2951e80cd5659fba5c36e416931fa.tar.gz emacs-8e0f134653b2951e80cd5659fba5c36e416931fa.zip | |
; Insert missing JNI prologues
* src/android.c (shouldForwardMultimediaButtons)
(shouldForwardCtrlSpace, notifyPixelsChanged, setupSystemThread):
* src/androidvfs.c (safSyncAndReadInput, safSync, safPostRequest)
(ftruncate): Insert absent JNI prologues.
Diffstat (limited to 'src/android.c')
| -rw-r--r-- | src/android.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/android.c b/src/android.c index 4d56df1da3f..41481afa475 100644 --- a/src/android.c +++ b/src/android.c | |||
| @@ -2519,6 +2519,8 @@ JNIEXPORT jboolean JNICALL | |||
| 2519 | NATIVE_NAME (shouldForwardMultimediaButtons) (JNIEnv *env, | 2519 | NATIVE_NAME (shouldForwardMultimediaButtons) (JNIEnv *env, |
| 2520 | jobject object) | 2520 | jobject object) |
| 2521 | { | 2521 | { |
| 2522 | JNI_STACK_ALIGNMENT_PROLOGUE; | ||
| 2523 | |||
| 2522 | /* Yes, android_pass_multimedia_buttons_to_system is being | 2524 | /* Yes, android_pass_multimedia_buttons_to_system is being |
| 2523 | read from the UI thread. */ | 2525 | read from the UI thread. */ |
| 2524 | return !android_pass_multimedia_buttons_to_system; | 2526 | return !android_pass_multimedia_buttons_to_system; |
| @@ -2527,6 +2529,8 @@ NATIVE_NAME (shouldForwardMultimediaButtons) (JNIEnv *env, | |||
| 2527 | JNIEXPORT jboolean JNICALL | 2529 | JNIEXPORT jboolean JNICALL |
| 2528 | NATIVE_NAME (shouldForwardCtrlSpace) (JNIEnv *env, jobject object) | 2530 | NATIVE_NAME (shouldForwardCtrlSpace) (JNIEnv *env, jobject object) |
| 2529 | { | 2531 | { |
| 2532 | JNI_STACK_ALIGNMENT_PROLOGUE; | ||
| 2533 | |||
| 2530 | return !android_intercept_control_space; | 2534 | return !android_intercept_control_space; |
| 2531 | } | 2535 | } |
| 2532 | 2536 | ||
| @@ -2630,6 +2634,8 @@ JNIEXPORT void JNICALL | |||
| 2630 | NATIVE_NAME (notifyPixelsChanged) (JNIEnv *env, jobject object, | 2634 | NATIVE_NAME (notifyPixelsChanged) (JNIEnv *env, jobject object, |
| 2631 | jobject bitmap) | 2635 | jobject bitmap) |
| 2632 | { | 2636 | { |
| 2637 | JNI_STACK_ALIGNMENT_PROLOGUE; | ||
| 2638 | |||
| 2633 | void *data; | 2639 | void *data; |
| 2634 | 2640 | ||
| 2635 | /* Lock and unlock the bitmap. This calls | 2641 | /* Lock and unlock the bitmap. This calls |
| @@ -2683,6 +2689,8 @@ NATIVE_NAME (answerQuerySpin) (JNIEnv *env, jobject object) | |||
| 2683 | JNIEXPORT void JNICALL | 2689 | JNIEXPORT void JNICALL |
| 2684 | NATIVE_NAME (setupSystemThread) (void) | 2690 | NATIVE_NAME (setupSystemThread) (void) |
| 2685 | { | 2691 | { |
| 2692 | JNI_STACK_ALIGNMENT_PROLOGUE; | ||
| 2693 | |||
| 2686 | sigset_t sigset; | 2694 | sigset_t sigset; |
| 2687 | 2695 | ||
| 2688 | /* Block everything except for SIGSEGV and SIGBUS; those two are | 2696 | /* Block everything except for SIGSEGV and SIGBUS; those two are |