[m-dev.] trivial diff: add comments to runtime/type_info.h

Fergus Henderson fjh at cs.mu.OZ.AU
Tue Dec 21 20:44:58 AEDT 1999


Estimated hours taken: 0.25

runtime/mercury_type_info.h:
	Reorder some the declarations and improve the comments a little.

Workspace: /d-drive/home/hg/fjh/ws-hg2/mercury
Index: runtime/mercury_type_info.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_type_info.h,v
retrieving revision 1.33
diff -u -d -r1.33 mercury_type_info.h
--- runtime/mercury_type_info.h	1999/12/11 15:32:33	1.33
+++ runtime/mercury_type_info.h	1999/12/12 13:27:12
@@ -797,17 +797,19 @@
 
 /*---------------------------------------------------------------------------*/
 
-Word * MR_create_type_info(const Word *, const Word *);
-Word * MR_create_type_info_maybe_existq(const Word *, const Word *,
-		const Word *, const Word *);
 int MR_compare_type_info(Word, Word);
 Word MR_collapse_equivalences(Word);
 
 /* 
-** definitions for creating type infos from pseudo_type_info's
+** Functions for creating type_infos from pseudo_type_infos.
+** See mercury_type_info.c for documentation on these.
 */
 
-/* for make_type_info(), we keep a list of allocated memory cells */
+Word * MR_create_type_info(const Word *, const Word *);
+Word * MR_create_type_info_maybe_existq(const Word *, const Word *,
+		const Word *, const Word *);
+
+/* for MR_make_type_info(), we keep a list of allocated memory cells */
 struct MR_MemoryCellNode {
 	void				*data;
 	struct MR_MemoryCellNode	*next;

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list