[MLton-user] Minor issues

Matthew Fluet fluet at tti-c.org
Mon Sep 8 07:47:03 PDT 2008


On Mon, 8 Sep 2008, John Reppy wrote:
> A couple of minor issues that I noticed while trying to debug linking on Vista:
>
>  1) The FFI documentation suggests that one can specify an attribute to _symbol specifications,
>     but doesn't explain what these might be.

Which documentation?  The documentation at
   http://mlton.org/ForeignFunctionInterfaceSyntax
seems clear on the subject.  (Modulo the fact that the documentation is 
up-to-date with respect to 20070826, not SVN HEAD.)

>  2) I thought that "stdcall" might be such an attribute, but I get an error message
>
>        Error: c:\users\t-johrep\work\sml3d\src\glut\glut.sml 687.49.
>          Invalid attributestdcall.
>
>     Note the missing " " between "attributes" and "stdcall".

Thanks.  Fixed.



More information about the MLton-user mailing list