HsForeign.AsyncFFI
withAsyncFFI Source #
Arguments
Size of callback data
Peek callback data
Normal async foreign function: sp -> cap -> ptr -> ()
withAsyncFFI' Source #
A list of extra Bytes we will touch, usually it's empty
withPrimAsyncFFI :: Prim a => (StablePtr PrimMVar -> Int -> Ptr a -> IO b) -> IO a Source #