[m-rev.] diff: documentation in mercury_trace_base.h

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Jan 12 15:40:37 AEDT 2004


runtime/mercury_trace_base.h:
	Document why MR_trace_get_action is in this file.

Zoltan.

Index: mercury_trace_base.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_trace_base.h,v
retrieving revision 1.35
diff -u -b -r1.35 mercury_trace_base.h
--- mercury_trace_base.h	14 Sep 2003 22:24:37 -0000	1.35
+++ mercury_trace_base.h	14 Sep 2003 22:27:57 -0000
@@ -317,6 +317,10 @@
 ** in *arg_list_ptr.
 ** This function uses the heap pointer, so calls to it must be wrapped
 ** with MR_save_transient_hp() and MR_restore_transient_hp().
+**
+** This function is called from the Mercury code in the debugger, in the
+** browser directory. It is here, not in the trace directory, because code
+** in the browser directory cannot call functions in the trace directory.
 */
 
 extern	const char
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list