fix haddock submodule pointer
[ghc-hetmet.git] / rts / Printer.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2005
4  *
5  * Prototypes for functions in Printer.c
6  *
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef PRINTER_H
10 #define PRINTER_H
11
12 #include "BeginPrivate.h"
13
14 extern void        printPtr        ( StgPtr p );
15 extern void        printObj        ( StgClosure *obj );
16
17 extern char *      closure_type_names[];
18
19 void               info_hdr_type   ( StgClosure *closure, char *res );
20 char  *            info_type       ( StgClosure *closure );
21 char  *            info_type_by_ip ( StgInfoTable *ip );
22
23 #ifdef DEBUG
24 extern void        prettyPrintClosure (StgClosure *obj);
25 extern void        printClosure    ( StgClosure *obj );
26 extern StgPtr      printStackObj   ( StgPtr sp );
27 extern void        printStackChunk ( StgPtr sp, StgPtr spLim );
28 extern void        printTSO        ( StgTSO *tso );
29
30 extern void DEBUG_LoadSymbols( char *name );
31
32 extern const char *lookupGHCName( void *addr );
33
34 extern char *what_next_strs[];
35 #endif
36
37 #include "EndPrivate.h"
38
39 #endif /* PRINTER_H */
40