[MLton] bool and MLton FFI

Matthew Fluet fluet@cs.cornell.edu
Thu, 22 Jun 2006 21:37:28 -0400 (EDT)


>> So, unlike int32_t and friends, there is no required size for a bool.
> There is no required size for 'int' or 'short' either.
> How is bool different in this respect?

Because we don't support 'int' or 'short' in the FFI; we only support the 
sized types, so we know precisely how the C compiler represents them.