[m-dev.] [reuse] for review: compare and unify for univ

Fergus Henderson fjh at cs.mu.OZ.AU
Sat Oct 14 01:16:31 AEDT 2000


On 13-Oct-2000, Peter Ross <petdr at miscrit.be> wrote:
> Also why do we have to types MR_TypeInfo and MR_Type_Info, as I have to
> cast one to another to avoid warnings.

`MR_TypeInfo' is the name of the type used by the Mercury runtime.
This is a typedef for a pointer to a C struct with appropriate field names.

`MR_Type_Info' is the name of the C type that corresponds to the
type used by the --high-level-code grades of the Mercury compiler for
the Mercury `private_builtin__type_info' type.  This is either
	(a) for --no-high-level-data,
	    a typedef for `MR_Word'
or
	(b) for --high-level-data,
	    a typedef for a pointer to an opaque struct type.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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