[m-rev.] for review: minor extension to stand-alone interfaces

Julien Fischer juliensf at csse.unimelb.edu.au
Wed Jan 11 15:58:54 AEDT 2012


On Wed, 4 Jan 2012, Julien Fischer wrote:

> Branches: main
>
> Make it possible to initialise the Mercury runtime using an external 
> interface
> without providing the address of the base of the stack.
> This should work on most systems and can be useful when the top-level of a
> program is not written in C or C++.
> (In principle, this probably always worked, so the main change here is to
> document it.)
>
> util/mkinit.c:
> 	If mercury_init's stackbottom argument is NULL then don't
> 	set GC_stackbottom.
>
> doc/user_guide.texi:
> 	Extend the description of the mercury_init function in the
> 	stand-alone interfaces section to include the above.

In the absence of any review comments, I have committed this one.

Julien.
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list