[mercury-users] Problem with C interface

Tyson Dowd trd at cs.mu.OZ.AU
Sun Oct 4 02:32:17 AEST 1998


On 03-Oct-1998, Gustavo A. Ospina <g-ospina at uniandes.edu.co> wrote:

> :- pragma c_code(crypt2(Key::in, Salt::in) = KeyCrypted::out, 

Try:

:- pragma c_code(crypt2(Key::in, Salt::in) = (KeyCrypted::out), 

> Are there an error in the syntax or C interface for functions is not
> suported in the current release? will be suported in your next release?

Just a syntax error.  It's a horrible error message though.  

-- 
Those who would give up essential liberty to purchase a little temporary
safety deserve neither liberty nor safety.     - Benjamin Franklin

Tyson Dowd   <tyson at tyse.net>   http://tyse.net



More information about the users mailing list