Mercurial > hg > xemacs-beta
diff src/free-hook.c @ 337:fbbf69b4e8a7 r21-0-66
Import from CVS: tag r21-0-66
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:51:02 +0200 |
parents | c5d627a313b1 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/free-hook.c Mon Aug 13 10:50:41 2007 +0200 +++ b/src/free-hook.c Mon Aug 13 10:51:02 2007 +0200 @@ -510,7 +510,8 @@ /* Note: There is no more input blocking in XEmacs */ typedef enum { block_type, unblock_type, totally_type, - gcpro1_type, gcpro2_type, gcpro3_type, gcpro4_type, ungcpro_type + gcpro1_type, gcpro2_type, gcpro3_type, gcpro4_type, gcpro5_type, + ungcpro_type } blocktype; struct block_input_history_struct @@ -526,7 +527,7 @@ typedef struct block_input_history_struct block_input_history; -#endif +#endif /* DEBUG_INPUT_BLOCKING || DEBUG_GCPRO */ #ifdef DEBUG_INPUT_BLOCKING @@ -575,7 +576,7 @@ blhistptr = 0; } -#endif +#endif /* DEBUG_INPUT_BLOCKING */ #ifdef DEBUG_GCPRO @@ -587,8 +588,6 @@ static void log_gcpro (char *file, int line, struct gcpro *value, blocktype type) { - FRAME start_frame; - if (type == ungcpro_type) { if (value == gcprolist) goto OK; @@ -681,6 +680,9 @@ gcprolist = gcpro1->next; } + +/* To be called from the debugger */ +void show_gcprohist (void); void show_gcprohist (void) { @@ -703,4 +705,4 @@ fflush (stdout); } -#endif +#endif /* DEBUG_GCPRO */