[m-rev.] trivial diff: define MR_bool in mercury_mcpp.h

Simon Taylor stayl at cs.mu.OZ.AU
Wed Feb 20 21:15:01 AEDT 2002



Estimated hours taken: 0.1

runtime/mercury_mcpp.h:
	Define MR_bool, which is now generated by the compiler
	for `:- pragma export' declarations. Someone else should
	work out what should be done with MR_Bool (I'd suggest
	removing it and replacing all uses with MR_bool).

Index: mercury_mcpp.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_mcpp.h,v
retrieving revision 1.17
diff -u -u -r1.17 mercury_mcpp.h
--- mercury_mcpp.h	18 Feb 2002 07:01:17 -0000	1.17
+++ mercury_mcpp.h	20 Feb 2002 10:05:42 -0000
@@ -19,6 +19,7 @@
 typedef int		MR_Integer;
 typedef System::Int32	MR_BoxedInt;
 typedef System::Boolean	MR_Bool;
+typedef System::Boolean	MR_bool;
 
 typedef System::Char	MR_Char; // `Char' is MS's name for unicode characters
 
--------------------------------------------------------------------------
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