Mon Nov 19 11:37:14 CET 2001 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / metadata / class.h
index c03716a9d7de8cb5429331d2ca120b0f87ad692f..6cdff29d5ec3d5a3243669c2deb008e8e5dcb7e8 100644 (file)
@@ -47,7 +47,7 @@ struct _MonoClass {
        int        vtable_size; /* number of slots */
 
        /*
-        * relartive numbering for fast type checking
+        * relative numbering for fast type checking
         */
        unsigned int baseval;
        unsigned int diffval;
@@ -68,6 +68,8 @@ struct _MonoClass {
 
        MonoMethod **methods;
 
+       /* The underlying type of the enum */
+       MonoType *enum_basetype;
        /* for arrays */
        MonoClass *element_class; /* element class */
        guint32    rank;          /* array dimension */
@@ -120,4 +122,9 @@ mono_class_from_mono_type  (MonoType *type);
 gpointer
 mono_ldtoken               (MonoImage *image, guint32 token, MonoClass **retclass);
 
+typedef gpointer (*MonoTrampoline) (MonoMethod *method);
+
+void
+mono_install_trampoline (MonoTrampoline func);
+
 #endif /* _MONO_CLI_CLASS_H_ */