Interface with C
Ana Maria Abrao
ana@ufu.br
Tue, 09 Jun 1998 15:28:57 +0000
Dear Alan Grover.
I guess that you have tested the C interface by now. Could you
send me a copy of the MacIntosh program, which you have used
to perform the test? I would like to include it in my page.
A simple program will do. Something like:
int fn(int x, int y) {
return(x*x+y*y); }
f :: !Int !Int -> Int;
f a b = code {
ccall fn "II-I" }
According to John van Groningen, the interface with the MacIntosh
is exactly like the interface with the PC. Nevertheless, it is
a good idea to test it. Thank you for helping me on this.
Greetings.
Ana et collaborators.