2007-12-19 Martin Baulig <martin@ximian.com>
[mono.git] / mono / mini / mono-dbg.h
1 #ifndef __MONO_DBG_H__
2 #define __MONO_DBG_H__
3
4 #include <glib.h>
5
6 G_BEGIN_DECLS
7
8 typedef gboolean (*MonoDbgMemoryAccess) (gconstpointer address, void *buffer, guint32 size);
9
10 guint32
11 mono_dbg_get_version (void);
12
13 typedef struct {
14         gconstpointer container_class;
15         gconstpointer generic_inst;
16         gconstpointer klass;
17 } MonoDbgGenericClass;
18
19 typedef struct {
20         guint32 id;
21         guint32 type_argc;
22         gconstpointer *type_argv;
23 } MonoDbgGenericInst;
24
25 gboolean
26 mono_dbg_read_generic_class (MonoDbgMemoryAccess memory, gconstpointer address,
27                              MonoDbgGenericClass *result);
28
29 gboolean
30 mono_dbg_read_generic_inst (MonoDbgMemoryAccess memory, gconstpointer address,
31                             MonoDbgGenericInst *result);
32
33 G_END_DECLS
34
35 #endif
36