packages feed

babl-0.0.0.1: src/BABL/FFI.hs

-- | FFI module for basic functions
module BABL.FFI
  ( c_babl_init
  , c_babl_exit
  ) where

import Foreign

-- | Interface to the @babl_init@ function in C
foreign import ccall unsafe "babl.h babl_init"
  c_babl_init :: IO ()

-- | Interface to the @babl_exit@ function in C
foreign import ccall unsafe "babl.h babl_exit"
  c_babl_exit :: IO ()