Files
android_translation_layer/src/api-impl-jni/generated_headers/android_os_MessageQueue.h
Julian Winkler 4491de7f63 MessageQueue: integrate with glib main loop
Adds a special treatment for the main Looper to not block in java code,
but instead return to glib managed thread loop. Timeouts in the mainloop
are now handled using g_timeout_add_full().

Also defer Activity construction, so that every thing is set up properly
when the constructor runs.
2023-08-08 14:18:20 +02:00

54 lines
1.2 KiB
C

/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class android_os_MessageQueue */
#ifndef _Included_android_os_MessageQueue
#define _Included_android_os_MessageQueue
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: android_os_MessageQueue
* Method: nativeInit
* Signature: ()J
*/
JNIEXPORT jlong JNICALL Java_android_os_MessageQueue_nativeInit
(JNIEnv *, jclass);
/*
* Class: android_os_MessageQueue
* Method: nativeDestroy
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_android_os_MessageQueue_nativeDestroy
(JNIEnv *, jclass, jlong);
/*
* Class: android_os_MessageQueue
* Method: nativePollOnce
* Signature: (JI)Z
*/
JNIEXPORT jboolean JNICALL Java_android_os_MessageQueue_nativePollOnce
(JNIEnv *, jclass, jlong, jint);
/*
* Class: android_os_MessageQueue
* Method: nativeWake
* Signature: (J)V
*/
JNIEXPORT void JNICALL Java_android_os_MessageQueue_nativeWake
(JNIEnv *, jclass, jlong);
/*
* Class: android_os_MessageQueue
* Method: nativeIsIdling
* Signature: (J)Z
*/
JNIEXPORT jboolean JNICALL Java_android_os_MessageQueue_nativeIsIdling
(JNIEnv *, jclass, jlong);
#ifdef __cplusplus
}
#endif
#endif