Skip to content

Commit 0993ebf

Browse files
authored
Merge pull request #1443 from Unity-Technologies/unity-master-expose-class-has-failure
Exposing mono_unity_class_has_failure externally so Unity can use it …
2 parents 7e5d318 + 17ffb54 commit 0993ebf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

mono/metadata/unity-utils.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,3 +1970,9 @@ mono_unity_class_is_open_constructed_type (MonoClass *klass)
19701970
{
19711971
return mono_class_is_open_constructed_type (m_class_get_byval_arg(klass));
19721972
}
1973+
1974+
MONO_API gboolean
1975+
mono_unity_class_has_failure(const MonoClass* klass)
1976+
{
1977+
return mono_class_has_failure(klass);
1978+
}

mono/metadata/unity-utils.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,6 @@ mono_unity_get_enable_handler_block_guards (void);
223223

224224
MONO_API gboolean mono_unity_class_is_open_constructed_type (MonoClass *klass);
225225

226+
MONO_API gboolean mono_unity_class_has_failure (const MonoClass* klass);
227+
226228
#endif

0 commit comments

Comments
 (0)