summaryrefslogtreecommitdiff
path: root/rusty-haskell/haskell/src/FLib.hs
blob: 7fc1d617719c42624cdb290e28b3b48410d0c3e5 (plain)
1
2
3
4
5
6
7
8
module FLib where

import Foreign.C.Types
import Foreign.C.String

foreign import ccall "double_input" doubleInput :: CInt -> CInt
--foreign import ccall unsafe "print_string" printString :: CString -> IO ()
foreign import ccall "print_hello" printHello :: IO ()