Reuse of XPathNavigator instance is error-prone. Fixed bug #3705. This may significan...
[mono.git] / mono / dis / util.h
index fe89cb2c8fa4bcc810a3d0f83cdf5ad3bd9749d5..cbb9a4f365dfb92462643146bc288a0e59bace71 100644 (file)
@@ -1,10 +1,10 @@
-
 typedef struct {
        int code;
-       char *str;
-} map_t;
+       const char *str;
+} dis_map_t;
 
-const char *map       (guint32 code, map_t *table);
-const char *flags     (guint32 code, map_t *table);
+const char *map       (guint32 code, dis_map_t *table);
+const char *flags     (guint32 code, dis_map_t *table);
 void        hex_dump  (const char *buffer, int base, int count);
+char*       data_dump (const char *data, int len, const char* prefix);