[MLton-commit] r4315

Matthew Fluet MLton@mlton.org
Thu, 26 Jan 2006 18:03:37 -0800


Added mp_limb_t
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c

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

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-01-27 01:57:43 UTC (rev 4314)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/gen/gen-types.c	2006-01-27 02:03:34 UTC (rev 4315)
@@ -151,7 +151,6 @@
   } while (0)
 
 static char* suffix[] = {
-  "",
   "#define C_Errno_t(t) t",
   "",
   "#endif /* _MLTON_TYPES_H_ */",
@@ -250,6 +249,10 @@
   systype(speed_t, "Word", "C_Speed_t");
   systype(tcflag_t, "Word", "C_TCFlag_t");
   writeNewline (fd);
+  writeString (fd, "/* from \"gmp.h\" */");
+  writeNewline (fd);
+  systype(mp_limb_t, "Word", "C_MPLimb_t");
+  writeNewline (fd);
   for (int i = 0; suffix[i] != NULL; i++) {
     writeString (fd, suffix[i]);
     writeNewline (fd);