[m-rev.] for review: document how to mainpulate bool values in C

Julien Fischer juliensf at cs.mu.OZ.AU
Tue Dec 7 14:08:36 AEDT 2004



On Tue, 7 Dec 2004, Ralph Becket wrote:

> Julien Fischer, Monday,  6 December 2004:
> >

> > Index: doc/reference_manual.texi
> > ===================================================================
> > RCS file: /home/mercury1/repository/mercury/doc/reference_manual.texi,v
> > retrieving revision 1.298
> > diff -u -r1.298 reference_manual.texi
> > --- doc/reference_manual.texi	29 Sep 2004 16:52:16 -0000	1.298
> > +++ doc/reference_manual.texi	6 Dec 2004 06:55:51 -0000
> > @@ -7441,6 +7441,10 @@
> >  @code{string} are passed to and from C as C variables whose type is
> >  given by the corresponding typedef.
> >
> > +For the Mercury standard library type @samp{bool.bool}, there is a
> > +corresponding C type, @code{MR_bool}.  C code can refer to the boolean
> > +values @samp{yes} and @samp{no}, as @code{MR_YES} and @code{MR_NO} respectively.
> > +
>
> Can I suggest s/values/data constructors/ to make it completely obvious
> what that these C macros denote?
>
Done.

> Also, that last line is more than 78 characters long.
>
Fixed.

Julien.
--------------------------------------------------------------------------
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