
9 Mar
2006
9 Mar
'06
2:46 a.m.
Hello Marcin, Thursday, March 9, 2006, 2:20:00 AM, you wrote:
foreign import ccall duma_init :: Int -> IO Int
MQK> HsInt duma_init(HsInt arg); MQK> Or use int on the C side and CInt on the Haskell side. MQK> fromIntegral can be used for converting integers in Haskell. for small "home" projects you can even use "Int" and "int" which would work in most of Haskell implementations -- Best regards, Bulat mailto:Bulat.Ziganshin@gmail.com