Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / exception.h
index ca146fafa9613122e4f5fd62b2b7050ade22a084..6575694c7c50ce37e9c0d903a89dabf869f3d3f4 100644 (file)
@@ -1,7 +1,10 @@
+/**
+ * \file
+ */
+
 #ifndef _MONO_METADATA_EXCEPTION_H_
 #define _MONO_METADATA_EXCEPTION_H_
 
-#include <glib.h>
 #include <mono/metadata/object.h>
 #include <mono/metadata/image.h>
 
@@ -154,8 +157,8 @@ mono_get_exception_runtime_wrapped (MonoObject *wrapped_exception);
  * 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