-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Common functionality for bindings-* set of packages. -- -- The bindings-* set of packages contain low level bindings for -- established libraries, and is aimed at developers of higher level -- modules that can use it as foundation. They all mimic the exact names -- and functionality of the original libraries. For a specific library, -- look for package bindings-library_name. @package bindings-common @version 0.1 module Bindings.C data Timeval instance Storable Timeval module Bindings.Utilities data (Storable a) => GlobalVariable a setGlobalVariable :: (Storable a) => GlobalVariable a -> a -> IO () getGlobalVariable :: (Storable a) => GlobalVariable a -> IO a class (Storable cb) => Callback cb where { type family F cb :: *; { withCallback f c = do { made <- makeCallback f; result <- c made; freeCallback made; return result } } } nullCallback :: (Callback cb) => cb makeCallback :: (Callback cb) => F cb -> IO cb freeCallback :: (Callback cb) => cb -> IO () withCallback :: (Callback cb) => F cb -> (cb -> IO a) -> IO a -- | module Bindings