On Sun, 18 Jul 2010, grzyb wrote:

I'm a beginner at haskell and ffi. I was trying to import and use is haskell
one C function, but I can't manage to do that.

Can someone show me an example how to create an import and a use example for
such a C function:
char functionName(char *, unsigned int, char *)

Something like

foreign import functionName :: Ptr CChar -> CUInt -> Ptr CChar -> IO CChar
_______________________________________________
FFI mailing list
FFI@haskell.org
http://www.haskell.org/mailman/listinfo/ffi

Reply via email to