New tests.
[mono.git] / mono / metadata / verify.h
index 46fde0ca243ce90be61d8c06af0df14efea5ff19..dd81fe49a8127b6de3dd8a6106479243da58cef9 100644 (file)
@@ -4,9 +4,9 @@
 #include <mono/metadata/metadata.h>
 #include <mono/metadata/image.h>
 #include <mono/metadata/loader.h>
-#include "mono/utils/mono-compiler.h"
+#include <glib.h> /* GSList dep */
 
-G_BEGIN_DECLS
+MONO_BEGIN_DECLS
 
 typedef enum {
        MONO_VERIFY_OK,
@@ -37,7 +37,7 @@ typedef enum {
        MONO_VERIFY_SKIP_VISIBILITY = 64,
 
        /*Skip all visibility related checks*/
-       MONO_VERIFY_REPORT_ALL_ERRORS = 128,
+       MONO_VERIFY_REPORT_ALL_ERRORS = 128
 
 } MonoVerifyStatus;
 
@@ -48,18 +48,15 @@ typedef struct {
 
 typedef struct {
        MonoVerifyInfo info;
-       guint8 exception_type; /*should be one of MONO_EXCEPTION_* */
+       int8_t exception_type; /*should be one of MONO_EXCEPTION_* */
 } MonoVerifyInfoExtended;
 
 
-GSList* mono_image_verify_tables (MonoImage *image, int level);
 GSList* mono_method_verify       (MonoMethod *method, int level);
 void    mono_free_verify_list    (GSList *list);
 char*   mono_verify_corlib       (void);
 
-#define MONO_VERIFIER_DEBUG
-
-G_END_DECLS
+MONO_END_DECLS
 
 #endif  /* __MONO_METADATA_VERIFY_H__ */