2009-07-22 Mark Probst <mark.probst@gmail.com>
[mono.git] / mono / metadata / object-internals.h
index 56bd15155cd88bf2f3816c4c104d2e17dd956837..84e447426a05438314648eb25bd4fe228653152b 100644 (file)
@@ -978,6 +978,7 @@ typedef struct {
        gint32 machine;
        MonoBoolean corlib_internal;
        MonoArray *type_forwarders;
+       MonoArray *pktoken; /* as hexadecimal byte[] */
 } MonoReflectionAssemblyBuilder;
 
 typedef struct {
@@ -1072,7 +1073,7 @@ typedef struct {
 typedef struct {
        MonoReflectionType type;
        MonoReflectionType *element_type;
-} MonoReflectionByRefType;
+} MonoReflectionDerivedType;
 
 typedef struct {
        MonoReflectionType type;
@@ -1224,6 +1225,12 @@ typedef struct {
        guint32 location;
 } MonoManifestResourceInfo;
 
+/* A boxed IntPtr */
+typedef struct {
+       MonoObject object;
+       gpointer m_value;
+} MonoIntPtr;
+
 /* Keep in sync with System.GenericParameterAttributes */
 typedef enum {
        GENERIC_PARAMETER_ATTRIBUTE_NON_VARIANT         = 0,
@@ -1295,6 +1302,9 @@ mono_reflection_call_is_assignable_to (MonoClass *klass, MonoClass *oklass) MONO
 gboolean
 mono_reflection_is_valid_dynamic_token (MonoDynamicImage *image, guint32 token) MONO_INTERNAL;
 
+MonoType*
+mono_reflection_type_get_handle (MonoReflectionType *ref) MONO_INTERNAL;
+
 void
 mono_image_build_metadata (MonoReflectionModuleBuilder *module) MONO_INTERNAL;