2002-07-16 Dietmar Maurer <dietmar@ximian.com>
[mono.git] / mono / metadata / metadata.h
index d98e27abbd5bbc5eb0ed401d4ac7458fddc8321f..04f3f77b601118fe121beffb6e13f637adda299d 100644 (file)
@@ -268,7 +268,8 @@ struct _MonoMethodSignature {
        unsigned int  hasthis : 1;
        unsigned int  explicit_this   : 1;
        unsigned int  call_convention : 6;
-       unsigned int  ref_count : 24;
+       unsigned int  pinvoke   : 1;
+       unsigned int  ref_count : 23;
        guint16       param_count;
        guint16       sentinelpos;
        MonoType     *ret;
@@ -322,14 +323,20 @@ MonoType      *mono_metadata_parse_field_type  (MonoImage      *m,
                                                short            field_flags,
                                                const char      *ptr,
                                                const char      **rptr);
-MonoType      *mono_type_create_from_typespec (MonoImage        *image, 
-                                              guint32           type_spec);
+MonoType      *mono_type_create_from_typespec  (MonoImage        *image, 
+                                               guint32           type_spec);
 void           mono_metadata_free_type         (MonoType        *type);
 int            mono_type_size                  (MonoType        *type, 
                                                int             *alignment);
 int            mono_type_stack_size            (MonoType        *type, 
                                                int             *alignment);
 
+MonoType      *mono_get_param_info             (MonoMethodSignature *sig, 
+                                               int                  param_num, 
+                                               int                 *size, 
+                                               int                 *align);
+
+
 guint          mono_metadata_type_hash         (MonoType *t1);
 gboolean       mono_metadata_type_equal        (MonoType *t1, MonoType *t2);