Remove Printer.c:prettyPrintClosure()
[ghc.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 const char * closure_type_names[];
18
19 void info_hdr_type ( const StgClosure *closure, char *res );
20 const char * info_type ( const StgClosure *closure );
21 const char * info_type_by_ip ( const StgInfoTable *ip );
22 const char * info_update_frame ( const StgClosure *closure );
23
24 #ifdef DEBUG
25 extern void printClosure ( const StgClosure *obj );
26 extern void printStackChunk ( StgPtr sp, StgPtr spLim );
27 extern void printTSO ( StgTSO *tso );
28
29 extern void DEBUG_LoadSymbols( char *name );
30
31 extern const char *lookupGHCName( void *addr );
32
33 extern const char *what_next_strs[];
34 #endif
35
36 #include "EndPrivate.h"
37
38 #endif /* PRINTER_H */
39