+/**
+ * \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/utils/mono-compiler.h"
+#include <glib.h> /* GSList dep */
-G_BEGIN_DECLS
+MONO_BEGIN_DECLS
typedef enum {
MONO_VERIFY_OK,
/*Skip all visibility related checks*/
MONO_VERIFY_SKIP_VISIBILITY = 64,
+
+ /*Skip all visibility related checks*/
+ MONO_VERIFY_REPORT_ALL_ERRORS = 128
+
} MonoVerifyStatus;
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);
+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);
-G_END_DECLS
+MONO_END_DECLS
#endif /* __MONO_METADATA_VERIFY_H__ */