Bläddra i källkod

* get.c (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_CUSTOM.

svn path=/trunk/mono/; revision=49069
Ankit Jain 20 år sedan
förälder
incheckning
dca8b99183
2 ändrade filer med 8 tillägg och 0 borttagningar
  1. 4 0
      mono/dis/ChangeLog
  2. 4 0
      mono/dis/get.c

+ 4 - 0
mono/dis/ChangeLog

@@ -1,3 +1,7 @@
+2005-08-29  Ankit Jain  <[email protected]>
+
+	* get.c (dis_stringify_marshal_spec): Add new case for MONO_NATIVE_CUSTOM.
+	
 2005-08-27  Ankit Jain  <[email protected]>
 
 	* get.c (init_key_table): Add keywords - ldelem, stelem, stloc, stobj,

+ 4 - 0
mono/dis/get.c

@@ -753,6 +753,10 @@ dis_stringify_marshal_spec (MonoMarshalSpec *spec)
 		g_free (elem_type);
 		return ret;
 	}
+	case MONO_NATIVE_CUSTOM:
+		return g_strdup_printf (" marshal (custom (\"%s\", \"%s\"))", 
+			spec->data.custom_data.custom_name ? spec->data.custom_data.custom_name : "", 
+			spec->data.custom_data.cookie ? spec->data.custom_data.cookie : "");
 	default: {
 		char *native_type, *ret;
 		native_type = dis_stringify_native_type (spec->native);