In .:
[mono.git] / mono / metadata / class.h
index 2ebebe701d6f460b91e70ca4dc9a162fe28b69cf..471967a4ea2cac991e949ed5a8220637677df655 100644 (file)
@@ -28,7 +28,7 @@ mono_class_get             (MonoImage *image, guint32 type_token);
 MonoClass *
 mono_class_get_full        (MonoImage *image, guint32 type_token, MonoGenericContext *context);
 
-void
+gboolean
 mono_class_init            (MonoClass *klass);
 
 MonoVTable *
@@ -53,7 +53,7 @@ MonoType*
 mono_class_inflate_generic_type (MonoType *type, MonoGenericContext *context);
 
 MonoMethod*
-mono_class_inflate_generic_method (MonoMethod *method, MonoClass *klass_hint, MonoGenericContext *context);
+mono_class_inflate_generic_method (MonoMethod *method, MonoGenericContext *context);
 
 MonoMethod *
 mono_get_inflated_method (MonoMethod *method);
@@ -162,6 +162,9 @@ mono_class_get_namespace     (MonoClass *klass);
 MonoType*
 mono_class_get_type          (MonoClass *klass);
 
+guint32
+mono_class_get_type_token    (MonoClass *klass);
+
 MonoType*
 mono_class_get_byref_type    (MonoClass *klass);
 
@@ -208,6 +211,12 @@ mono_field_get_parent (MonoClassField *field);
 guint32
 mono_field_get_flags  (MonoClassField *field);
 
+guint32
+mono_field_get_offset  (MonoClassField *field);
+
+const char *
+mono_field_get_data  (MonoClassField *field);
+
 /* MonoProperty acessors */
 const char*
 mono_property_get_name       (MonoProperty *prop);
@@ -252,6 +261,12 @@ mono_class_get_method_from_name (MonoClass *klass, const char *name, int param_c
 char *
 mono_class_name_from_token (MonoImage *image, guint32 type_token);
 
+gboolean
+mono_method_can_access_field (MonoMethod *method, MonoClassField *field);
+
+gboolean
+mono_method_can_access_method (MonoMethod *method, MonoMethod *called);
+
 G_END_DECLS
 
 #endif /* _MONO_CLI_CLASS_H_ */