[corlib] Use AppContextSwitches implementation from RS. Fixes #54448 (#4682)
[mono.git] / mono / dis / util.h
old mode 100644 (file)
new mode 100755 (executable)
index c6647c7..d8ff7bf
@@ -1,11 +1,12 @@
-
 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);
 
-#define CSIZE(x) (sizeof (x) / 4)
+extern int dis_isinf (double num);
+extern int dis_isnan (double num);