1 /* -----------------------------------------------------------------------------
3 * (c) The GHC Team, 1998-2005
5 * Prototypes for functions in Printer.c
7 * ---------------------------------------------------------------------------*/
14 extern void printPtr ( StgPtr p );
15 extern void printObj ( StgClosure *obj );
17 extern char * closure_type_names[];
19 void info_hdr_type ( StgClosure *closure, char *res );
20 char * info_type ( StgClosure *closure );
21 char * info_type_by_ip ( StgInfoTable *ip );
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 );
30 extern void DEBUG_LoadSymbols( char *name );
32 extern const char *lookupGHCName( void *addr );
34 extern char *what_next_strs[];
39 #endif /* PRINTER_H */