2010-05-29 Robert Jordan <robertj@gmx.net>
[mono.git] / mono / metadata / metadata-internals.h
index e9a3df0dbf0521af37d1f6855184cdd07e7ca6f4..9fa06f0446ca323c5198aec79510381af9866f3d 100644 (file)
@@ -438,7 +438,8 @@ struct _MonoMethodHeader {
 #else
        guint32      code_size;
 #endif
-       guint16      max_stack;
+       guint16      max_stack   : 15;
+       unsigned int is_transient: 1; /* mono_metadata_free_mh () will actually free this header */
        unsigned int num_clauses : 15;
        /* if num_locals != 0, then the following apply: */
        unsigned int init_locals : 1;
@@ -686,5 +687,9 @@ void mono_image_load_names (MonoImage *image) MONO_INTERNAL;
 
 MonoImage *mono_image_open_raw (const char *fname, MonoImageOpenStatus *status) MONO_INTERNAL;
 
+MonoException *mono_get_exception_field_access_msg (const char *msg) MONO_INTERNAL;
+
+MonoException *mono_get_exception_method_access_msg (const char *msg) MONO_INTERNAL;
+
 #endif /* __MONO_METADATA_INTERNALS_H__ */