[MLton-commit] r6836

Wesley Terpstra wesley at mlton.org
Sat Sep 6 03:46:49 PDT 2008


Include the type name void for _address FFI imports.
----------------------------------------------------------------------

U   mlton/trunk/mlton/codegen/c-codegen/c-codegen.fun

----------------------------------------------------------------------

Modified: mlton/trunk/mlton/codegen/c-codegen/c-codegen.fun
===================================================================
--- mlton/trunk/mlton/codegen/c-codegen/c-codegen.fun	2008-09-06 10:29:06 UTC (rev 6835)
+++ mlton/trunk/mlton/codegen/c-codegen/c-codegen.fun	2008-09-06 10:46:47 UTC (rev 6836)
@@ -522,7 +522,7 @@
                                     "extern ",
                                     case cty of
                                        SOME x => CType.toString x
-                                     | NONE => "", 
+                                     | NONE => "void", 
                                     " ",
                                     name, 
                                     ";\n"])




More information about the MLton-commit mailing list