[MLton-devel] RE: release of MLton with _export

Mike Thomas miketh@brisbane.paradigmgeo.com
Fri, 27 Jun 2003 12:40:45 +1000


OK.

I deleted the stuff to do with f3 (which is missing in export.sml) and the
program runs fine:

$ ./export
g starting
i = 13  r = 17.15
g done  char = g
g starting
i = 13  r = 17.15
g done  char = g
g2 starting
g2 done
0wxFF
success

I've got a really important bug in Windows GNU CL to fix which has been
terrorising me for months, but I'll try and make some time for MLTON and
OpenGL soon.  I really appreciate the effort you are going to on this by the
way.

Cheers

Mike Thomas.





| -----Original Message-----
| From: Stephen Weeks [mailto:sweeks@sweeks.com]
| Sent: Friday, June 27, 2003 11:35 AM
| To: Mike Thomas
| Cc: MLton@mlton.org
| Subject: release of MLton with _export
|
|
|
| Hi Mike.  I wanted to let you know about our latest experimental
| release of MLton, 20030625, available at
| http://www.mlton.org/experimental/.  This release includes our latest
| facility for calling SML from C.  Now in SML you can say
|
| _export "foo": real * char -> int;
|
| to export a function "foo" for calling from C.  See the user guide for
| details.
|
| Hopefully this simplifies the FFI stuff enough to not be a hinderance
| to your OpenGL interface.
|
|



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel