[m-dev.] for review: add MR_ to Word, Integer, String, etc...
Tyson Dowd
trd at cs.mu.OZ.AU
Thu Aug 3 12:18:27 AEST 2000
On 02-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> On 02-Aug-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> > +typedef MR_Bool Bool;
>
> That should be `bool' rather than `Bool'.
Actually, I was just replacing the (few) occurances of Bool with
MR_Bool.
There are lots more occurances of `bool'. I'm not sure what to do with
them right now, so I'm going to leave them for now.
> It might _perhaps_ be better to define it in the same way it used
> to be defined, i.e.
>
> #ifndef bool
> #define bool char
> #endif
This is done in mercury_std.h and is not the same way that MR_Bool (or
the old Bool) is defined.
typedef MR_intptr_t MR_Bool;
I'm going to bootstrap that change and if it passes I'm going to commit
it. We can discuss the change to bool (if any) at our leisure.
--
Tyson Dowd #
# Surreal humour isn't everyone's cup of fur.
trd at cs.mu.oz.au #
http://www.cs.mu.oz.au/~trd #
--------------------------------------------------------------------------
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