Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
mkCallbackPtr :: CallbackPrim -> IO (FunPtr CallbackPrim) Source #
mkColorAverageCallbackPtr :: ColorAverageCallbackPrim -> IO (FunPtr ColorAverageCallbackPrim) Source #
mkFinalizer :: (Ptr a -> IO ()) -> IO (FinalizerPtr a) Source #
mkFinalizerEnv :: (Ptr env -> Ptr a -> IO ()) -> IO (FinalizerEnvPtr env a) Source #
wrapBoxDrawFPrim :: BoxDrawFPrim -> IO (FunPtr BoxDrawFPrim) Source #
mkFDHandlerPrim :: FDHandlerPrim -> IO (FunPtr FDHandlerPrim) Source #
keySequenceToCInt :: [EventState] -> KeyType -> CInt Source #
wrapNonNull :: Ptr a -> String -> IO (ForeignPtr (Ptr a)) Source #
toBoxDrawF :: BoxDrawFPrim -> BoxDrawF Source #
toFDHandlerPrim :: FDHandler -> IO (FunPtr FDHandlerPrim) Source #
toShortcut :: [KeyType] -> FlShortcut Source #
cToKeyType :: CInt -> KeyType Source #
cFromKeyType :: KeyType -> CInt Source #
unsafeToRef :: Ptr () -> Ref a Source #
unsafeToCString :: Text -> CString Source #
unsafeFromCString :: CString -> Text Source #
cStringToText :: HasCallStack => CString -> IO Text Source #
supressWarningAboutRes :: a -> () Source #
foldl1WithDefault :: a -> (a -> a -> a) -> [a] -> a Source #
alignmentsToInt :: Alignments -> Int Source #
intToAlignments :: Int -> Alignments Source #
modesToInt :: Modes -> Int Source #
intToModes :: Int -> Modes Source #
withByteStrings :: [ByteString] -> (Ptr (Ptr CChar) -> IO a) -> IO a Source #