[threads] Rework MonoThreadInfoCallbacks.thread_{register,detach,unregister} callback...
[mono.git] / mono / metadata / verify.h
index dd81fe49a8127b6de3dd8a6106479243da58cef9..ed7920e69f9346ecadb255199f81b9529eee6fc2 100644 (file)
@@ -1,9 +1,14 @@
+/**
+ * \file
+ */
+
 #ifndef __MONO_METADATA_VERIFY_H__
 #define __MONO_METADATA_VERIFY_H__
 
 #include <mono/metadata/metadata.h>
 #include <mono/metadata/image.h>
 #include <mono/metadata/loader.h>
+#include <mono/metadata/class-internals.h>
 #include <glib.h> /* GSList dep */
 
 MONO_BEGIN_DECLS
@@ -48,13 +53,13 @@ typedef struct {
 
 typedef struct {
        MonoVerifyInfo info;
-       int8_t exception_type; /*should be one of MONO_EXCEPTION_* */
+       MonoExceptionType exception_type : 8; /*should be one of MONO_EXCEPTION_* */
 } MonoVerifyInfoExtended;
 
 
-GSList* mono_method_verify       (MonoMethod *method, int level);
-void    mono_free_verify_list    (GSList *list);
-char*   mono_verify_corlib       (void);
+MONO_API GSList* mono_method_verify       (MonoMethod *method, int level);
+MONO_API void    mono_free_verify_list    (GSList *list);
+MONO_API char*   mono_verify_corlib       (void);
 
 MONO_END_DECLS