[Haskell-cafe] A function callable from C

Stefan O'Rear stefanor at cox.net
Mon Feb 5 21:04:27 EST 2007

On Tue, Feb 06, 2007 at 12:40:38PM +1100, John Ky wrote:
> Hi Stefan,
> In that case, how do I marshall [String] to Ptr (Ptr CChar)?

look at Foreign.C.String and Foreign.Ptr

More information about the Haskell-Cafe mailing list