diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-04 21:50:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-04 21:50:04 +0100 |
commit | 0f8ac21592dd2569bf03c97b9d7744ff51be6342 (patch) | |
tree | b875ba769871e5ac38ff1646f5f19a8c767a4fed /modules/mono/mono_gd/gd_mono_utils.h | |
parent | db3f87d49171024cce3757c102db7de55b5b2c8c (diff) | |
parent | 119a910bc6b7472f014773997bc036a461b44a38 (diff) |
Merge pull request #15346 from neikeq/properties-are-overrated
Mono: Add properties support in scripts
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_utils.h')
-rw-r--r-- | modules/mono/mono_gd/gd_mono_utils.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_utils.h b/modules/mono/mono_gd/gd_mono_utils.h index 62d31f78fb..3135f728ee 100644 --- a/modules/mono/mono_gd/gd_mono_utils.h +++ b/modules/mono/mono_gd/gd_mono_utils.h @@ -166,12 +166,14 @@ MonoDomain *create_domain(const String &p_friendly_name); String get_exception_name_and_message(MonoObject *p_ex); +void print_unhandled_exception(MonoObject *p_ex); + } // namespace GDMonoUtils #define NATIVE_GDMONOCLASS_NAME(m_class) (GDMonoMarshal::mono_string_to_godot((MonoString *)m_class->get_field(BINDINGS_NATIVE_NAME_FIELD)->get_value(NULL))) #define CACHED_CLASS(m_class) (GDMonoUtils::mono_cache.class_##m_class) -#define CACHED_CLASS_RAW(m_class) (GDMonoUtils::mono_cache.class_##m_class->get_raw()) +#define CACHED_CLASS_RAW(m_class) (GDMonoUtils::mono_cache.class_##m_class->get_mono_ptr()) #define CACHED_NS_CLASS(m_ns, m_class) (GDMonoUtils::mono_cache.class_##m_ns##_##m_class) #define CACHED_RAW_MONO_CLASS(m_class) (GDMonoUtils::mono_cache.rawclass_##m_class) #define CACHED_FIELD(m_class, m_field) (GDMonoUtils::mono_cache.field_##m_class##_##m_field) |