fix declaration and message_hook/3 (obs from Paulo Moura)
This commit is contained in:
parent
a628079e00
commit
15fc06764a
@ -233,8 +233,8 @@
|
||||
#define Yap_LiveCps Yap_heap_regs->live_cps
|
||||
#define Yap_DirtyCps Yap_heap_regs->dirty_cps
|
||||
#define Yap_FreedCps Yap_heap_regs->freed_cps
|
||||
#define Yap_expand_clauses_sz Yap_heap_regs->expand_clauses_sz
|
||||
#endif
|
||||
#define Yap_expand_clauses_sz Yap_heap_regs->expand_clauses_sz
|
||||
|
||||
#define UdiControlBlocks Yap_heap_regs->udi_control_blocks
|
||||
|
||||
|
@ -233,8 +233,8 @@
|
||||
UInt live_cps;
|
||||
UInt dirty_cps;
|
||||
UInt freed_cps;
|
||||
UInt expand_clauses_sz;
|
||||
#endif
|
||||
UInt expand_clauses_sz;
|
||||
|
||||
struct udi_info *udi_control_blocks;
|
||||
|
||||
|
@ -233,8 +233,8 @@
|
||||
Yap_heap_regs->live_cps = 0L;
|
||||
Yap_heap_regs->dirty_cps = 0L;
|
||||
Yap_heap_regs->freed_cps = 0L;
|
||||
Yap_heap_regs->expand_clauses_sz = 0L;
|
||||
#endif
|
||||
Yap_heap_regs->expand_clauses_sz = 0L;
|
||||
|
||||
Yap_heap_regs->udi_control_blocks = NULL;
|
||||
|
||||
|
@ -233,9 +233,9 @@
|
||||
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
RestoreUdiControlBlocks();
|
||||
|
||||
|
||||
|
@ -257,8 +257,8 @@ UInt new_cps Yap_NewCps =0L void
|
||||
UInt live_cps Yap_LiveCps =0L void
|
||||
UInt dirty_cps Yap_DirtyCps =0L void
|
||||
UInt freed_cps Yap_FreedCps =0L void
|
||||
UInt expand_clauses_sz Yap_expand_clauses_sz =0L void
|
||||
#endif
|
||||
UInt expand_clauses_sz Yap_expand_clauses_sz =0L void
|
||||
|
||||
/* UDI support */
|
||||
struct udi_info *udi_control_blocks UdiControlBlocks =NULL RestoreUdiControlBlocks()
|
||||
|
@ -195,6 +195,8 @@ yap_hacks:cut_by(CP) :- '$$cut_by'(CP).
|
||||
|
||||
:- multifile user:message_hook/3.
|
||||
|
||||
:- dynamic user:message_hook/3.
|
||||
|
||||
:- multifile user:portray_message/2.
|
||||
|
||||
file_search_path(library, Dir) :-
|
||||
|
Reference in New Issue
Block a user