+/**
+ * \file
+ */
+
#ifndef _MONO_METADATA_EXCEPTION_H_
#define _MONO_METADATA_EXCEPTION_H_
-#include <glib.h>
#include <mono/metadata/object.h>
#include <mono/metadata/image.h>
MONO_API MonoException *
mono_get_exception_file_not_found (MonoString *fname);
+MONO_RT_EXTERNAL_ONLY
MONO_API MonoException *
mono_get_exception_file_not_found2 (const char *msg, MonoString *fname);
MONO_API MonoException *
mono_get_exception_bad_image_format (const char *msg);
+MONO_RT_EXTERNAL_ONLY
MONO_API MonoException *
mono_get_exception_bad_image_format2 (const char *msg, MonoString *fname);
* This hook isn't expected to return.
* If no hook has been installed, the runtime will print a message before aborting.
*/
-typedef void (*MonoUnhandledExceptionFunc) (MonoObject *exc, gpointer user_data);
-MONO_API void mono_install_unhandled_exception_hook (MonoUnhandledExceptionFunc func, gpointer user_data);
+typedef void (*MonoUnhandledExceptionFunc) (MonoObject *exc, void *user_data);
+MONO_API void mono_install_unhandled_exception_hook (MonoUnhandledExceptionFunc func, void *user_data);
void mono_invoke_unhandled_exception_hook (MonoObject *exc);
MONO_END_DECLS