[m-dev.] for review: change MercuryFile structure

Peter Ross peter.ross at miscrit.be
Tue Aug 8 23:05:03 AEST 2000


On Tue, Aug 08, 2000 at 03:31:12PM +1000, Fergus Henderson wrote:
> On 28-Jul-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> > For Fergus to review.
> > 
> > I will do the changes required to io.m to handle bidirectional streams
> > as a seperate change, as they are independent of this change.
> > 
> > ===================================================================
> > 
> > Estimated hours taken: 20
> > 
> > Change the MercuryFile structure so that it now contains pointers to
> > functions which operate on the MercuryFile.  This allows us, for
> > example, to create a MercuryFile structure which operates on sockets and
> > use the predicates in io.m to operate on the socket stream.
> 
> OK, so this change is another version of the one previously
> discussed in the thread "Add Mission Critical extensions".
> Unlike the previous version, in this version the changes
> are applied unconditionally, rather than being #ifdef'd.
> 
It also provides an example of how to use the MercuryFile structure, in
extras/logged_output


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