diff options
author | Indah Sylvia <ISylvox@yahoo.com> | 2017-08-07 17:17:31 +0700 |
---|---|---|
committer | Indah Sylvia <ISylvox@yahoo.com> | 2017-08-07 18:24:35 +0700 |
commit | 5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2 (patch) | |
tree | 3f0dcef53a38d356a40fd7adce40387f21904a18 /platform/uwp/thread_uwp.cpp | |
parent | 7e4970214c92fec0e7262f36765764a81e28b2be (diff) | |
download | redot-engine-5ae78fdf6adf4b3ab417d2b6fd5a41bfa6d5cfe2.tar.gz |
Makes all Godot API's methods Lower Case
Diffstat (limited to 'platform/uwp/thread_uwp.cpp')
-rw-r--r-- | platform/uwp/thread_uwp.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/uwp/thread_uwp.cpp b/platform/uwp/thread_uwp.cpp index 436941707c..0549a8ed47 100644 --- a/platform/uwp/thread_uwp.cpp +++ b/platform/uwp/thread_uwp.cpp @@ -41,7 +41,7 @@ Thread *ThreadUWP::create_func_uwp(ThreadCreateCallback p_callback, void *p_user return thread; }; -Thread::ID ThreadUWP::get_thread_ID_func_uwp() { +Thread::ID ThreadUWP::get_thread_id_func_uwp() { return std::hash<std::thread::id>()(std::this_thread::get_id()); }; @@ -52,14 +52,14 @@ void ThreadUWP::wait_to_finish_func_uwp(Thread *p_thread) { tp->thread.join(); }; -Thread::ID ThreadUWP::get_ID() const { +Thread::ID ThreadUWP::get_id() const { return std::hash<std::thread::id>()(thread.get_id()); }; void ThreadUWP::make_default() { create_func = create_func_uwp; - get_thread_ID_func = get_thread_ID_func_uwp; + get_thread_id_func = get_thread_id_func_uwp; wait_to_finish_func = wait_to_finish_func_uwp; }; |