Gtk2HsSource codeContentsIndex
System.Glib.FFI
Description
This module serves as an impedance matcher for different compiler versions. It also adds a few FFI utility functions.
Documentation
with :: Storable a => a -> (Ptr a -> IO b) -> IO b
nullForeignPtr :: ForeignPtr a
maybeNull :: (IO (Ptr a) -> IO a) -> IO (Ptr a) -> IO (Maybe a)
newForeignPtr
withForeignPtrs :: [ForeignPtr a] -> ([Ptr a] -> IO b) -> IO b
withArrayLen :: Storable a => [a] -> (Int -> Ptr a -> IO b) -> IO b
unsafeForeignPtrToPtr
unsafePerformIO
module Foreign
module Foreign.C
Produced by Haddock version 0.7