Re: Request: withArrayLength
Axel Simon <[email protected]> Tue, 23 Mar 2004 11:43:25 +0000
| Newsgroups | gmane.comp.lang.haskell.ffi |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Mar 22, 2004 at 07:55:51PM +0100, Sven Panne wrote: > Once upon a time, I wrote: > >Adrian Hey wrote: > > > >>[...] I think.. > >> > >> withArrayLength :: Storable a => [a] -> (Ptr a -> Int -> IO b) -> IO b > >> I support that as I came across C functions that needed an array and it's length rather often. Axel.