[m-dev.] for review: pragma foreign_proc support

Zoltan Somogyi zs at cs.mu.OZ.AU
Fri Jan 19 13:04:58 AEDT 2001


On 18-Jan-2001, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> :- pragma c_code will be supported exactly as before, we will just
> transform it into :- pragma foreign_proc or :- pragma foreign_code
> depending on the arity.

Why? Having :- pragma c_code with different arities mean different things
is a wart we should fix this change. We should migrate all pragma c_code in
the library and elsewhere to foreign_proc, and then c_code should be declared
obsolete.

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