Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
mkCallbackPtr :: CallbackPrim -> IO (FunPtr CallbackPrim) 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 #
mkTabHeightPrim :: TabHeightPrim -> IO (FunPtr TabHeightPrim) Source #
mkTabWhichPrim :: TabWhichPrim -> IO (FunPtr TabWhichPrim) Source #
mkGetDouble :: GetDoublePrim -> IO (FunPtr GetDoublePrim) Source #
mkGetInt :: GetIntPrim -> IO (FunPtr GetIntPrim) Source #
mkSetInt :: SetIntPrim -> IO (FunPtr SetIntPrim) Source #
mkColorSetPrim :: ColorSetPrim -> IO (FunPtr ColorSetPrim) Source #
toTabPositionsPrim :: (Ref a -> IO (Maybe AtIndex, Int, [(X, Width)])) -> IO (FunPtr TabPositionsPrim) Source #
toTabHeightPrim :: (Ref a -> IO Height) -> IO (FunPtr TabHeightPrim) Source #
toDestroyCallbacksPrim :: (Ref a -> [Maybe (FunPtr (IO ()))] -> IO ()) -> IO (FunPtr DestroyCallbacksPrim) Source #
keySequenceToCInt :: [EventState] -> KeyType -> CInt Source #
wrapNonNull :: HasCallStack => 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 #
cStringToText :: HasCallStack => CString -> IO Text Source #
cStringToMaybeText :: HasCallStack => CString -> IO (Maybe 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 #
drawShortcutFromC :: HasCallStack => CChar -> Maybe DrawShortcut Source #
drawShortcutToC :: Maybe DrawShortcut -> CChar Source #