diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2022-08-24 11:33:52 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2022-10-04 11:43:28 +0200 |
commit | 958ecf55fed9d236a6b0dca2a1b88e1b401df971 (patch) | |
tree | 18ffc0e63ec6b6cab11cde3e4cd1ca88efc92d83 /platform | |
parent | 1371a97acfb9263aaca7fa8642e95ba68534fa19 (diff) |
Enhance portability of threading
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/thread_jandroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/thread_jandroid.cpp b/platform/android/thread_jandroid.cpp index 61b471866f..9f87303341 100644 --- a/platform/android/thread_jandroid.cpp +++ b/platform/android/thread_jandroid.cpp @@ -63,7 +63,7 @@ static void term_thread() { void init_thread_jandroid(JavaVM *p_jvm, JNIEnv *p_env) { java_vm = p_jvm; env = p_env; - Thread::_set_platform_funcs(nullptr, nullptr, &init_thread, &term_thread); + Thread::_set_platform_functions({ .init = init_thread, .term = &term_thread }); } void setup_android_thread() { |