Merge pull request #4169 from evincarofautumn/fix-xmm-scanning-mac-x86
[mono.git] / mono / metadata / exception-internals.h
1 #ifndef _MONO_METADATA_EXCEPTION_INTERNALS_H_
2 #define _MONO_METADATA_EXCEPTION_INTERNALS_H_
3
4 #include <glib.h>
5
6 #include <mono/metadata/object.h>
7 #include <mono/metadata/handle.h>
8 #include <mono/utils/mono-error.h>
9
10 MonoException *
11 mono_get_exception_type_initialization_checked (const gchar *type_name, MonoException *inner, MonoError *error);
12
13 MonoExceptionHandle
14 mono_get_exception_reflection_type_load_checked (MonoArrayHandle types, MonoArrayHandle exceptions, MonoError *error);
15
16 MonoException *
17 mono_get_exception_runtime_wrapped_checked (MonoObject *wrapped_exception, MonoError *error);
18
19 MonoException *
20 mono_exception_from_name_two_strings_checked (MonoImage *image, const char *name_space,
21                                               const char *name, MonoString *a1, MonoString *a2,
22                                               MonoError *error);
23
24 MonoException *
25 mono_exception_from_token_two_strings_checked (MonoImage *image, uint32_t token,
26                                                MonoString *a1, MonoString *a2,
27                                                MonoError *error);
28
29
30 typedef int (*MonoGetSeqPointFunc) (MonoDomain *domain, MonoMethod *method, gint32 native_offset);
31
32 void
33 mono_install_get_seq_point (MonoGetSeqPointFunc func);
34
35 #endif