[m-rev.] diff: convert construct.m from MC++ to C#

Peter Ross pro at missioncriticalit.com
Wed Nov 12 23:14:50 AEDT 2003


Hi,


===================================================================


Estimated hours taken: 0.1
Branches: main

library/construct.m:
	Convert null from MC++ to C#.


Index: construct.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/construct.m,v
retrieving revision 1.12
diff -u -r1.12 construct.m
--- construct.m	20 Oct 2003 07:29:26 -0000	1.12
+++ construct.m	12 Nov 2003 12:08:24 -0000
@@ -181,11 +181,11 @@
     SUCCESS_INDICATOR = (S == NULL);
 ").
 
-:- pragma foreign_proc("MC++",
+:- pragma foreign_proc("C#",
     null(S::in),
     [will_not_call_mercury, thread_safe, promise_pure],
 "
-    SUCCESS_INDICATOR = (S == NULL);
+    SUCCESS_INDICATOR = (S == null);
 ").
 
 :- pred get_functor_2(type_desc__type_desc::in, int::in, string::out, int::out,


-- 
Peter Ross		
Software Engineer                                (Work)   +32 2 757 10 15
Mission Critical                                 (Mobile) +32 485 482 559
--------------------------------------------------------------------------
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