Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- type C_SelectionFunc = Ptr Terminal -> CLong -> CLong -> Ptr () -> IO CInt
- type SelectionFunc = Terminal -> CLong -> CLong -> IO Bool
- type SelectionFunc_WithClosures = Terminal -> CLong -> CLong -> Ptr () -> IO Bool
- drop_closures_SelectionFunc :: SelectionFunc -> SelectionFunc_WithClosures
- dynamic_SelectionFunc :: (HasCallStack, MonadIO m, IsTerminal a) => FunPtr C_SelectionFunc -> a -> CLong -> CLong -> Ptr () -> m Bool
- genClosure_SelectionFunc :: SelectionFunc -> IO Closure
- mk_SelectionFunc :: C_SelectionFunc -> IO (FunPtr C_SelectionFunc)
- noSelectionFunc :: Maybe SelectionFunc
- noSelectionFunc_WithClosures :: Maybe SelectionFunc_WithClosures
- wrap_SelectionFunc :: Maybe (Ptr (FunPtr C_SelectionFunc)) -> SelectionFunc_WithClosures -> Ptr Terminal -> CLong -> CLong -> Ptr () -> IO CInt
Signals
SelectionFunc
dynamic_SelectionFunc Source #
:: (HasCallStack, MonadIO m, IsTerminal a) | |
=> FunPtr C_SelectionFunc | |
-> a |
|
-> CLong |
|
-> CLong |
|
-> Ptr () |
|
-> m Bool | Returns: |
wrap_SelectionFunc :: Maybe (Ptr (FunPtr C_SelectionFunc)) -> SelectionFunc_WithClosures -> Ptr Terminal -> CLong -> CLong -> Ptr () -> IO CInt Source #