[m-rev.] for review: implement arg_cc in Mercury

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Dec 2 01:00:44 AEDT 2002


On 30-Nov-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> fjh wrote:
> > You should use the type_ctor_info for univ rather than (MR_Word) NULL here.
> > Otherwise mdb may crash...
>
> Ahh yes good point.
> 
> Just making sure, but is mercury_data_std_util__type_ctor_info_univ_0 the
> correct thing to pass?

No.  For hlc grades it is mercury__std_util__std_util__type_ctor_info_univ_0.
To get it right both, use the MR_TYPE_CTOR_INFO_NAME(module, name, arity)
macro, i.e. MR_TYPE_CTOR_INFO_NAME(std_util, univ, 0).

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list