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

Peter Ross peter.ross at miscrit.be
Tue Aug 1 17:26:22 AEST 2000


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.

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