[m-dev.] for review: Add new library predicate to reversibly encode two ints in a single int.

Robert Ernst Johann JESCHOFNIK rejj at cat.cs.mu.OZ.AU
Sat Jan 22 11:13:38 AEDT 2000


On Fri, 21 Jan 2000, Peter Schachte wrote:

> Ok.  But how do I raise an exception from pragma c_code?  The
> exception doc doesn't give any help on this.  I don't want to do the
> check in Mercury, because then the check would be done in both modes.

As far as I know - you don't. Bit of a bummer, that.
(mind you, I'm most likely wrong)


rob

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