mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-05-20 18:19:00 +07:00
Add loop
some devices may crash when using JNI callback in that way...
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define GAKUMAS_LOCALIFY_LOG_H
|
||||
|
||||
#include <string>
|
||||
#include <jni.h>
|
||||
|
||||
namespace GakumasLocal::Log {
|
||||
std::string StringFormat(const char* fmt, ...);
|
||||
@@ -16,6 +17,8 @@ namespace GakumasLocal::Log {
|
||||
|
||||
void ShowToast(const char* text);
|
||||
void ShowToastFmt(const char* fmt, ...);
|
||||
|
||||
void ToastLoop(JNIEnv *env, jclass clazz);
|
||||
}
|
||||
|
||||
#endif //GAKUMAS_LOCALIFY_LOG_H
|
||||
|
||||
Reference in New Issue
Block a user