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 _______________________________________________ Glasgow-haskell-users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
- Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- RE: Ptr and ForeignPtr Questions Simon Marlow
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- RE: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- RE: Ptr and ForeignPtr Questions Simon Marlow
- RE: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- Re: Ptr and ForeignPtr Questions Ashley Yakeley
- Re: Ptr and ForeignPtr Questions Manuel M. T. Chakravarty
- Re: Ptr and ForeignPtr Questions Marcin 'Qrczak' Kowalczyk
