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