summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_utils.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-07-05 22:32:27 +0200
committerGitHub <noreply@github.com>2020-07-05 22:32:27 +0200
commit347a55d4c22f8e1ee1ea62112063c3b5394044ad (patch)
tree313053a64e20cc77c692f03d2ce2cd93577a6e6e /modules/mono/mono_gd/gd_mono_utils.h
parent0287508dcdf51c7349b41aabb7679061a5147fdf (diff)
parent2511c439727226f64def8b15b38d084db187cf55 (diff)
downloadredot-engine-347a55d4c22f8e1ee1ea62112063c3b5394044ad.tar.gz
Merge pull request #40137 from neikeq/fix-clangtidy-warnings-mono
Mono/C#: Fix several clang-tidy warnings and cleanup
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_utils.h')
-rw-r--r--modules/mono/mono_gd/gd_mono_utils.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.h b/modules/mono/mono_gd/gd_mono_utils.h
index a7ca46f012..9db4a5f3f0 100644
--- a/modules/mono/mono_gd/gd_mono_utils.h
+++ b/modules/mono/mono_gd/gd_mono_utils.h
@@ -84,10 +84,6 @@ void detach_current_thread(MonoThread *p_mono_thread);
MonoThread *get_current_thread();
bool is_thread_attached();
-_FORCE_INLINE_ bool is_main_thread() {
- return mono_domain_get() != nullptr && mono_thread_get_main() == mono_thread_current();
-}
-
uint32_t new_strong_gchandle(MonoObject *p_object);
uint32_t new_strong_gchandle_pinned(MonoObject *p_object);
uint32_t new_weak_gchandle(MonoObject *p_object);
@@ -115,7 +111,6 @@ String get_type_desc(MonoType *p_type);
String get_type_desc(MonoReflectionType *p_reftype);
String get_exception_name_and_message(MonoException *p_exc);
-void set_exception_message(MonoException *p_exc, String message);
void debug_print_unhandled_exception(MonoException *p_exc);
void debug_send_unhandled_exception_error(MonoException *p_exc);