[MLton] Re: C-types

Matthew Fluet fluet@cs.cornell.edu
Sat, 13 May 2006 22:56:27 -0400 (EDT)


> On May 13, 2006, at 5:57 PM, Matthew Fluet wrote:
>> Suggestions on how to pass rlim_t up to ML user code in a portable manner?
> What happens if the FFI lies and uses the wrong signedness?

We can be burned by calling conventions that sign-extend signed values but 
zero-extend unsigned values.  This came up with PowerPC in the past.