[m-dev.] Re: for review: add MR_ to Word, Integer, String, etc...

Tyson Dowd trd at cs.mu.OZ.AU
Tue Aug 1 20:23:34 AEST 2000


On 01-Aug-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> On Tue, Aug 01, 2000 at 05:21:23PM +1000, Tyson Dowd wrote:
> > On 01-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> > > > -/*
> > > > -** The MR_Box type is used for representing polymorphic types.
> > > > -*/
> > > > -typedef void 	*MR_Box;
> > > 
> > > Why was this removed from runtime/mercury.h?
> > 
> > Because it isn't currently defined in the LLDS backend.  I want to use
> > this type to represent polymorphic types and c_pointer if interfacing to
> > C (in other words, I want export.m to be able to generate MR_Box and it
> > will work in all backends).  This should be mentioned in the log
> > message, and I will add a comment like the other ones to say where to
> > look for it.
> > 
> Note that the changes I made to support pragma export in the MLDS are
> all in the ml*m files.  The only use of export.m is to determine the
> C type name corresponding to the mercury type.

That's the bit I wanted to change.

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