#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,
MONO_VERIFY_SKIP_VISIBILITY = 64,
/*Skip all visibility related checks*/
- MONO_VERIFY_REPORT_ALL_ERRORS = 128,
+ MONO_VERIFY_REPORT_ALL_ERRORS = 128
} MonoVerifyStatus;
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);
-G_END_DECLS
+MONO_END_DECLS
#endif /* __MONO_METADATA_VERIFY_H__ */