At 2001-09-20 06:55, Manuel M. T. Chakravarty wrote: >The FFI does not ensure any type consistency between the >arguments to `Ptr'/`ForeignPtr' and the corresponding C >types. I've been using 'Ptr Word8' with newArray to pass lists of bytes to C functions. They appear as unsigned char arrays in the C function. Is this wrong, or not guaranteed? -- Ashley Yakeley, Seattle WA