[MLton] bool and MLton FFI

Stephen Weeks sweeks@sweeks.com
Thu, 22 Jun 2006 18:43:26 -0700


> Because we don't support 'int' or 'short' in the FFI;

We don't?  It seems to me like we should/do, and that the C_Int and
and C_Short structures enable this (once we export them in an mlb).

> we only support the sized types, so we know precisely how the C
> compiler represents them.

int and short are sized once one nails down the platform, and that's
all the compiler needs.