[EMAIL PROTECTED] (Marcin 'Qrczak' Kowalczyk) wrote,

> Fri, 18 Aug 2000 00:11:40 +1000, Manuel M. T. Chakravarty <[EMAIL PROTECTED]> 
>pisze:
> 
> > It's a pity, but then `autoPtrToBytes' is also out
> 
> Yes. I thought it was safe.
> 
> allocBytes:: Int -> (Ptr a -> IO b) -> IO b -- For temporary storage
> mallocBytes:: Int -> IO (Ptr a)              -- For persistent object
> mallocForeignObj:: Int -> IO ForeignObj          -- malloc + freeing finalizer

Agreed - these are nice.

Manuel

Reply via email to