Implement Halt Hook (request from Bernd).

This commit is contained in:
Vitor Santos Costa
2010-09-24 14:00:53 +01:00
parent 691d66cca3
commit 99c5a17b12
15 changed files with 98 additions and 8 deletions

View File

@@ -176,6 +176,8 @@ typedef struct {
typedef int (*YAP_agc_hook)(void *_Atom);
typedef void (*YAP_halt_hook)(int exit_code, void *closure);
/********* execution mode ***********************/
typedef enum