Merge pull request #3085 from lateralusX/jlorenss/win-x64-pinvoke-empty-struct
[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/utils/mono-error.h>
8
9 MonoException *
10 mono_get_exception_type_initialization_checked (const gchar *type_name, MonoException *inner, MonoError *error);
11
12 MonoException *
13 mono_get_exception_reflection_type_load_checked (MonoArray *types, MonoArray *exceptions, MonoError *error);
14
15 MonoException *
16 mono_get_exception_runtime_wrapped_checked (MonoObject *wrapped_exception, MonoError *error);
17
18 MonoException *
19 mono_exception_from_name_two_strings_checked (MonoImage *image, const char *name_space,
20                                               const char *name, MonoString *a1, MonoString *a2,
21                                               MonoError *error);
22
23 MonoException *
24 mono_exception_from_token_two_strings_checked (MonoImage *image, uint32_t token,
25                                                MonoString *a1, MonoString *a2,
26                                                MonoError *error);
27
28 #endif