[m-dev.] IL grade

Zoltan Somogyi zs at cs.mu.OZ.AU
Thu May 16 02:18:09 AEST 2002


On 15-May-2002, Peter Ross <pro at missioncriticalit.com> wrote:
> > > - definitions for undefined library types (c_pointer, type_desc)
> 
> Can you consider using pragma foreign_type for all of these types.  This
> avoids any casts plus it will allow easier porting to the IL backend.

But the type_desc is not a foreign type; it is a builtin type. The compiler can
be taught to handle them specially just like it handles integers and floats
specially in the foreign language interface.

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